ObjectQueryBase 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.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.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