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: 8.2.23
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