Syntax
| recordobject.DeleteRecord [Source][, Async]
| ||||||
---|---|---|---|---|---|---|---|
Description
| Deletes a file, or a directory and all of its contents.After such a delete, you need to close the Record object.
The DeleteRecord method is used to delete a file or a directory and all of its subdirectories.
You are strongly advised to close the affected Record immediately after calling a DeleteRecord. This will prevent any future operations performed by the provider from causing unpredictable behavior before the next update.
There are two optional parameters.
| ||||||
See Also
| |||||||
Example
| objRecord.DeleteRecord strSourceURL, True |