Click or drag to resize
RelationshipInfoProviderGetRelationships Method (Int32, Boolean, Boolean, String, Int32, String)
Returns the relationships DataSet for specified node.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public static DataSet GetRelationships(
	int nodeId,
	bool nodeLeft = true,
	bool nodeRight = true,
	string orderBy = null,
	int topN = 0,
	string columns = null
)

Parameters

nodeId
Type: SystemInt32
Node ID
nodeLeft (Optional)
Type: SystemBoolean
If true, returns the relationships where node is located on the left side
nodeRight (Optional)
Type: SystemBoolean
If true, returns the relationships where node is located on the right side
orderBy (Optional)
Type: SystemString
Order by clause
topN (Optional)
Type: SystemInt32
Number of records to return
columns (Optional)
Type: SystemString
Columns to select, null or empty returns all columns

Return Value

Type: DataSet
See Also