Click or drag to resize
AbstractInfoProviderTInfo, TProvider, TQueryGetSiteWhereCondition Method
Gets the where condition to limit the objects to specific site.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public virtual WhereCondition GetSiteWhereCondition(
	int siteId,
	bool combine = false
)

Parameters

siteId
Type: SystemInt32
Site ID to filter by
combine (Optional)
Type: SystemBoolean
True - both site and global objects are included. False - only site objects are included

Return Value

Type: WhereCondition
See Also