ExchangeClient.Backup

Backup(ExchangeFolderInfoCollection, string, BackupOptions)

Backups the content of the specified folders

public void Backup(ExchangeFolderInfoCollection folders, string fileName, BackupOptions options)
ParameterTypeDescription
foldersExchangeFolderInfoCollectionA folders to backup
fileNameStringA path to the presonal storage file
optionsBackupOptionsA backup options

Exceptions

exceptioncondition
AsposeArgumentExceptionA fileName is null or empty
AsposeArgumentNullExceptionfolders is null

See Also


Backup(ExchangeFolderInfoCollection, Stream, BackupOptions)

Backups the content of the specified folders

public void Backup(ExchangeFolderInfoCollection folders, Stream stream, BackupOptions options)
ParameterTypeDescription
foldersExchangeFolderInfoCollectionA folders to backup
streamStreamA stream to write into
optionsBackupOptionsA backup options

Exceptions

exceptioncondition
NotSupportedExceptionThe given stream does not support writting
AsposeArgumentNullExceptionfolders or stream is null

See Also