DeleteDocuments

Deletes documents from the application server.

Syntax

<HsvReports>.DeleteDocuments varabstrPaths, varabstrNames, lDocumentType, lDocumentFileType, vbIncludeSubFolders

Argument

Description

varabstrPaths

String array (ByVal). An array of strings that represents the hierarchical paths to the documents. The array contains an item for each path to a document.

The members in these strings are delimited by backslashes ( \ ), as shown in the following examples for a document named “Connecticut”:

    \Regional\UnitedStates\Connecticut

    \Management\Imbler\Connecticut

varabstrNames

String array (ByVal). The names of the documents to delete.

lDocumentType

Long (ByVal). Identifies the type of document to be deleted. For valid values see Document Type Constants.

lDocumentFileType

Long (ByVal). Identifies the file types of the documents to be deleted. For valid values see Document File Type Constants.

vbIncludeSubFolders

Boolean (ByVal). Determines if subdirectories are included.