RelationshipInfoProviderRelationshipExists Method |
Check whether relationship between two nodes already exists.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public static bool RelationshipExists(
int leftNodeId,
int rightNodeId,
int relationshipNameId
)
Parameters
- leftNodeId
- Type: SystemInt32
ID of left node - rightNodeId
- Type: SystemInt32
ID of right node - relationshipNameId
- Type: SystemInt32
ID of relationship name
Return Value
Type:
BooleanReturns true if the relationship between two nodes already exists
See Also