Click or drag to resize
RelationshipNameSiteInfoProvider.IsRelationShipOnSite Method
Returns true if the relationship is assigned to the given site.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 9.0.0
Syntax
C#
public static bool IsRelationShipOnSite(
	int relationshipNameId,
	int siteId
)

Parameters

relationshipNameId
Type: System.Int32
Relationship name ID
siteId
Type: System.Int32
Site ID

Return Value

Type: Boolean
See Also