TreeProvider GetRelationshipWhereCondition Method Kentico 8.0 API Reference
Returns where condition for the given relationship or null if the relationship was not found.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

nodeId
Type: OnlineSystem Int32
ID of a node in the relationship
name
Type: OnlineSystem String
Collection name
documentIsOnLeftSide
Type: OnlineSystem Boolean
If true, the document can be on left side of the relationship
documentIsOnRightSide
Type: OnlineSystem Boolean
If true, the document can be on left side of the relationship

Return Value

Type: OnlineString
See Also