RelationshipNameSiteInfoProviderIsRelationShipOnSite Method |
Returns true if the relationship is assigned to the given site.
Namespace: CMS.RelationshipsAssembly: CMS.Relationships (in CMS.Relationships.dll) Version: 8.2.23
Syntax public static bool IsRelationShipOnSite(
int relationshipNameId,
int siteId
)
Parameters
- relationshipNameId
- Type: SystemInt32
Relationship name ID - siteId
- Type: SystemInt32
Site ID
Return Value
Type:
BooleanSee Also