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

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

Parameters

relationshipNameId
Type: SystemInt32
Relationship name ID
siteId
Type: SystemInt32
Site ID

Return Value

Type: Boolean
See Also