Click or drag to resize
AbstractInfoProviderTInfo, TProvider, TQueryGetSiteWhereCondition Method

Note: This API is now obsolete.

Gets the where condition to limit the objects to specific site.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Method was not intended for public use and will be removed in the next version.")]
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