Skip to content

Delete

Deletes the document.

1
myDocument.Delete(realDelete: boolean):Document

Deletes the document.

1
myDocument.Delete():Document

Parameters

boolean realDelete
    Specifies whether to completely remove the document from the database.

Returns

The current Document instance.

Remarks

If realDelete is not specified or set to false, the state is changed to "Deleted".

If realDelete is set to true or the document is already in the "Deleted" state, the document is permanently deleted from the archive. If the realDelete parameter is not specified or is set to false, the state changes to Deleted. If the realDelete parameter is set to true, or if the document is already in the Deleted state, the document is permanently deleted from the archive.

See Also