IEWSClient.DeleteFolders

DeleteFolders(ExchangeFolderInfoCollection)

Deletes the specified folders

public void DeleteFolders(ExchangeFolderInfoCollection folders)
ParameterTypeDescription
foldersExchangeFolderInfoCollectionA ExchangeFolderInfoCollection containing information about folders to delete

Exceptions

exceptioncondition
AsposeArgumentNullExceptionfolders is null

See Also


DeleteFolders(StringCollection)

Deletes the specified folders

public void DeleteFolders(StringCollection folderUris)
ParameterTypeDescription
folderUrisStringCollectionThe folder uris

Exceptions

exceptioncondition
AsposeArgumentNullExceptionfolderUris is null

See Also


DeleteFolders(ExchangeFolderInfoCollection, bool)

Deletes the specified folders

public void DeleteFolders(ExchangeFolderInfoCollection folders, bool deletePermanently)
ParameterTypeDescription
foldersExchangeFolderInfoCollectionA ExchangeFolderInfoCollection containing information about folders to delete
deletePermanentlyBooleanIndicates whether the folder should be deleted permanently or should be moved into DeletedItems folder

Exceptions

exceptioncondition
AsposeArgumentNullExceptionfolders is null

See Also


DeleteFolders(StringCollection, bool)

Deletes the folder

public void DeleteFolders(StringCollection folderUris, bool deletePermanently)
ParameterTypeDescription
folderUrisStringCollectionThe folder Uri
deletePermanentlyBooleanIndicates whether the folder should be deleted permanently or should be moved into DeletedItems folder

Exceptions

exceptioncondition
AsposeArgumentNullExceptionfolderUris is null

See Also