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

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

Parameters

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

Return Value

Type: WhereCondition
See Also