DeleteAll Method  
 

Delete all stored objects in the container.

Syntax

object.DeleteAll

Parameters

None

Return Value

A value of True is returned if all objects were deleted from the current container. Otherwise, a value of False is returned and the LastError property will return the specific cause of the failure.

Remarks

The storage container contains information for each of the objects that have been stored by the application. Each of these objects are associated with the application ID and the storage type that was specified when calling the Open method. The DeleteAll method instructs the server to remove all objects in the continer, resetting it back to its initial state.

Caution

Exercise caution when using this method. The operation is immediate and the objects that are stored in the container are permanently deleted. They cannot be recovered by your application.

See Also

Copy Method, Delete Method, Move Method, Open Method, Rename Method