RelationshipInfoProviderGetRelationships Method (Int32, Boolean, Boolean, String, Int32, String) |
Returns the relationships DataSet for specified node.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax 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:
DataSetSee Also