RelationshipNameInfoProviderGetRelationshipNamesWhereCondition Method |
Returns where condition for selecting relationship names from the database.
Namespace: CMS.RelationshipsAssembly: CMS.Relationships (in CMS.Relationships.dll) Version: 9.0.0
Syntaxpublic 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:
WhereCondition
See Also