IObjectQueryTQuery, TObjectOnSite Method |
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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax TQuery OnSite(
SiteInfoIdentifier siteIdentifier,
bool includeGlobal = false
)
Parameters
- siteIdentifier
- Type: CMS.DataEngineSiteInfoIdentifier
Site identifier - includeGlobal (Optional)
- Type: SystemBoolean
If true, includes the global objects in case the object type covers both site and global objects
Return Value
Type:
TQuerySee Also