RelationshipNameInfoProviderGetRelationshipNamesWhereCondition Method |
Returns where condition for selecting relationship names from the database.
Namespace: CMS.RelationshipsAssembly: CMS.Relationships (in CMS.Relationships.dll) Version: 13.0.131
Syntax public static WhereCondition GetRelationshipNamesWhereCondition(
bool allowedForObjects,
bool allowedForDocuments,
int siteId,
bool includeAdHoc
)
Parameters
- allowedForObjects
- Type: SystemBoolean
Indicates if relationship names for object should be retrieved - allowedForDocuments
- Type: SystemBoolean
Indicates if relationship names for documents should be retrieved - siteId
- Type: SystemInt32
Site ID - includeAdHoc
- Type: SystemBoolean
Indicates if Ad-hoc relationship names should be retrieved
Return Value
Type:
WhereConditionSee Also