Click or drag to resize
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.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
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: TQuery

Implements

IDocumentQueryTQuery, TObjectPublished(Boolean)
See Also