IEWSClient.DeleteFolders
Contents
[
Hide
]DeleteFolders(ExchangeFolderInfoCollection)
Deletes the specified folders
public void DeleteFolders(ExchangeFolderInfoCollection folders)
Parameter | Type | Description |
---|---|---|
folders | ExchangeFolderInfoCollection | A ExchangeFolderInfoCollection containing information about folders to delete |
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | folders is null |
See Also
- class ExchangeFolderInfoCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
DeleteFolders(StringCollection)
Deletes the specified folders
public void DeleteFolders(StringCollection folderUris)
Parameter | Type | Description |
---|---|---|
folderUris | StringCollection | The folder uris |
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | folderUris is null |
See Also
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
DeleteFolders(ExchangeFolderInfoCollection, bool)
Deletes the specified folders
public void DeleteFolders(ExchangeFolderInfoCollection folders, bool deletePermanently)
Parameter | Type | Description |
---|---|---|
folders | ExchangeFolderInfoCollection | A ExchangeFolderInfoCollection containing information about folders to delete |
deletePermanently | Boolean | Indicates whether the folder should be deleted permanently or should be moved into DeletedItems folder |
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | folders is null |
See Also
- class ExchangeFolderInfoCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
DeleteFolders(StringCollection, bool)
Deletes the folder
public void DeleteFolders(StringCollection folderUris, bool deletePermanently)
Parameter | Type | Description |
---|---|---|
folderUris | StringCollection | The folder Uri |
deletePermanently | Boolean | Indicates whether the folder should be deleted permanently or should be moved into DeletedItems folder |
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | folderUris is null |
See Also
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email