The ResetStorage method resets the application storage
container and deletes all stored objects.
Parameters
None.
Return Value
If the method succeeds, the return value is non-zero. If the
method fails, the return value is zero. To get extended error information,
call the GetLastError method.
Remarks
The storage container contains information for each of the objects
that have been stored using the handle returned by the
OpenStorage method. Each of these objects are associated
with both the application ID and the storage type that was specified
by the caller. This method instructs the server to reset the
container back to its initial state, deleting all of the objects that
were stored in it.
|
Exercise caution when using this method. The reset operation
is immediate and the objects that are stored in the container are
permanently deleted. They cannot be recovered by your application.
|
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: cswebv12.lib
Unicode: Implemented as Unicode and ANSI versions
See Also
|