IEWSClient.EmptyFolder
Contents
[
Hide
]EmptyFolder(string)
Empties the specified folder. Subfolders will not be deleted; deleted items will be moved into DeletedItems folder
public void EmptyFolder(string folderUri)
Parameter | Type | Description |
---|---|---|
folderUri | String | Specifies the folder to be empty |
Exceptions
exception | condition |
---|---|
ExchangeException | EmptyFolder operation failed |
AsposeArgumentException | folderUri is null or empty |
See Also
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
EmptyFolder(string, EmptyFolderOptions)
Empties the specified folder
public void EmptyFolder(string folderUri, EmptyFolderOptions options)
Parameter | Type | Description |
---|---|---|
folderUri | String | Specifies the folder to be empty |
options | EmptyFolderOptions | Specifies the options of clearing folder |
Exceptions
exception | condition |
---|---|
ExchangeException | EmptyFolder operation failed |
AsposeArgumentException | folderUri is null or empty |
See Also
- enum EmptyFolderOptions
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email