ExchangeClient.Backup
Contents
[
Hide
]Backup(ExchangeFolderInfoCollection, string, BackupOptions)
Backups the content of the specified folders
public void Backup(ExchangeFolderInfoCollection folders, string fileName, BackupOptions options)
Parameter | Type | Description |
---|---|---|
folders | ExchangeFolderInfoCollection | A folders to backup |
fileName | String | A path to the presonal storage file |
options | BackupOptions | A backup options |
Exceptions
exception | condition |
---|---|
AsposeArgumentException | A fileName is null or empty |
AsposeArgumentNullException | folders is null |
See Also
- class ExchangeFolderInfoCollection
- enum BackupOptions
- class ExchangeClient
- namespace Aspose.Email.Clients.Exchange.Dav
- assembly Aspose.Email
Backup(ExchangeFolderInfoCollection, Stream, BackupOptions)
Backups the content of the specified folders
public void Backup(ExchangeFolderInfoCollection folders, Stream stream, BackupOptions options)
Parameter | Type | Description |
---|---|---|
folders | ExchangeFolderInfoCollection | A folders to backup |
stream | Stream | A stream to write into |
options | BackupOptions | A backup options |
Exceptions
exception | condition |
---|---|
NotSupportedException | The given stream does not support writting |
AsposeArgumentNullException | folders or stream is null |
See Also
- class ExchangeFolderInfoCollection
- enum BackupOptions
- class ExchangeClient
- namespace Aspose.Email.Clients.Exchange.Dav
- assembly Aspose.Email