ADO DeleteRecord Method
The DeleteRecord method deletes a file or directory and all of its
contents. After calling this method to a delete, you need to close the
Record object to prevent unpredictable behaviors of the Record.
.Syntax
objrecord.DeleteRecord(source,async)
|
Example
objRecord.DeleteRecord strSourceURL, True
|
Parameter |
Description |
source |
Optional. The URL of the file or directory that
will be deleted |
async |
Optional. A Boolean value that, when True, sets
the delete operation to be asynchronous
|
|