Click or drag to resize
ObjectRelationshipInfoProviderGetRelationships Method (String, String, Int32, String)
Gets all the relationships based on the given parameters.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 8.2.23
Syntax
C#
public static ObjectQuery<ObjectRelationshipInfo> GetRelationships(
	string where,
	string orderBy = null,
	int topN = -1,
	string columns = null
)

Parameters

where
Type: SystemString
Where condition to filter data
orderBy (Optional)
Type: SystemString
Order by statement
topN (Optional)
Type: SystemInt32
Specifies number of returned records
columns (Optional)
Type: SystemString
Data columns to return

Return Value

Type: ObjectQueryObjectRelationshipInfo
See Also