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: 10.0.0
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