Click or drag to resize
RelationshipNameInfoProviderGetRelationshipNamesWhereCondition Method
Returns where condition for selecting relationship names from the database.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 11.0.0
Syntax
C#
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: WhereCondition
See Also