Click or drag to resize
RelationshipInfoProviderRelationshipExists Method
Check whether relationship between two nodes already exists.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
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: Boolean
Returns true if the relationship between two nodes already exists
See Also