MultiDocumentQueryBaseTQuery, TInnerQuery, TObjectPublished Method |
Ensures that only documents published on a live site are retrieved.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public virtual 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:
TQueryImplements
IDocumentQueryTQuery, TObjectPublished(Boolean)See Also