IDocumentQueryTQuery, TObjectPublished Method |
Ensures that only documents published on a live site are retrieved.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax TQuery Published(
bool published = true
)
Parameters
- published (Optional)
- Type: SystemBoolean
If true, only published documents are retrieved, otherwise all documents are retrieved
Return Value
Type:
TQuerySee Also