DocumentQueryBaseTQuery, TObjectPublished Method |
Ensures that only documents which have at least one published version are retrieved (the retrieved versions of documents themselves don't have to be published).
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 set to false, the method retrieves only documents which don't have any published version.
Return Value
Type:
TQueryImplements
IDocumentQueryTQuery, TObjectPublished(Boolean)See Also