ObjectRelationshipInfoProviderGetRelationships Method (String, String, Int32, String) |
Gets all the relationships based on the given parameters.
Namespace: CMS.RelationshipsAssembly: CMS.Relationships (in CMS.Relationships.dll) Version: 8.2.23
Syntax 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:
ObjectQueryObjectRelationshipInfoSee Also