Microsoft SDK for Java

deleteDirectory

The deleteDirectory method of the ClientStore Class contains the following signatures:

deleteDirectory(String stgfilename)
deleteDirectory(String stgfilename, int flags)

deleteDirectory(String stgfilename)

Deletes the specified directory.

Syntax

public void deleteDirectory(String stgfilename) throws IOException;

Parameters

stgfilename The name of the directory to delete.

Exceptions

IOException if the directory name is not valid.

deleteDirectory(String stgfilename, int flags)

Deletes a specified directory.

Syntax

public void deleteDirectory(String stgfilename, int flags) throws IOException;

Parameters

stgfilename The name of the directory to delete.
flags A value that indicates the storage area from which to delete stgfilename. It can be either or both of the STORE_FL_LOCAL and STORE_FL_ROAMING flags.

Exceptions

IOException if the directory name is not valid.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.