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 real parameter is not specified or set to "false" state is changed to "Deleted".
If real parameter is set to "true" or document is already in "Deleted" state document permanently deleted from archive.

See Also