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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
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
See Also