DbDocumentStorage.Clear() Method

Deletes the table records where a cached document is stored.

Namespace: DevExpress.XtraPrinting.Caching

Assembly: DevExpress.XtraReports.v18.1.dll

Syntax

public override void Clear()

When creating a DbDocumentStorage object, you specify a database table to use for storing the generated document. Use the Clear method to delete the records that store the document identified by the DocumentId property.

When the Database Document Storage is disposed of, its content is cleared, if the ClearOnDispose property is set to true. The content is cleared using the Clear method.