Delete a stored object from the container.
Syntax
object.Delete( ObjectLabel )
Parameters
- ObjectLabel
- A string which specifies the label of the object that should be
deleted.
Return Value
A value of True is returned if the object was deleted.
Otherwise, a value of False is returned and the LastError
property will return the specific cause of the failure.
Remarks
The Delete method is used to
delete a stored object from the container. This method permanently
deletes the storage object and its associated data from the server.
Deleted objects cannot be recovered by the application. To remove all
objects stored in the container, use the DeleteAll
method.
See Also
Copy Method,
DeleteAll Method,
Move Method,
Rename Method
|