Click or drag to resize
RelationshipNameSiteInfoProviderAddRelationshipNameToSite Method

Note: This API is now obsolete.

Adds the relationship name specified by id to the site.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IRelationshipNameSiteInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - RelationshipNameSiteInfo.Provider.")]
public static void AddRelationshipNameToSite(
	int relationshipNameId,
	int siteId
)

Parameters

relationshipNameId
Type: SystemInt32
ID of relationship name to add
siteId
Type: SystemInt32
ID of site
See Also