DocumentQueryBase TQuery, TObject  OnSite Method Kentico 8.0 API Reference
Filters the data to include only records on the given site. If site binding is defined, filters the global objects by the site ID

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

siteIdentifier
Type: CMS.DataEngine SiteInfoIdentifier
Site identifier
includeGlobal (Optional)
Type: OnlineSystem Boolean
If true, includes the global objects in case the object type covers both site and global objects

Return Value

Type: TQuery
See Also