Click or drag to resize
MultiDocumentQueryBaseTQuery, TInnerQuery, TObjectPublished Method
Ensures that only documents published on a live site are retrieved.

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 true, only published documents are retrieved, otherwise all documents are retrieved

Return Value

Type: TQuery

Implements

IDocumentQueryTQuery, TObjectPublished(Boolean)
See Also