DocumentQueryBase TQuery, TObject  OnSite Method Kentico 8.1 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.1.5347.20411)

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