RelationshipNameSiteInfoProviderIsRelationShipOnSite Method |
Returns true if the relationship is assigned to the given site.
Namespace: CMS.RelationshipsAssembly: CMS.Relationships (in CMS.Relationships.dll) Version: 11.0.0
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