BackupRestoreContent(RestoreTargetInfoBase, SourceDataStoreType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BackupRestoreContent.
protected BackupRestoreContent (Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase restoreTargetInfo, Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType sourceDataStoreType);
new Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreContent : Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase * Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType -> Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreContent
Protected Sub New (restoreTargetInfo As RestoreTargetInfoBase, sourceDataStoreType As SourceDataStoreType)
Parameters
- restoreTargetInfo
- RestoreTargetInfoBase
Gets or sets the restore target information. Please note RestoreTargetInfoBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ItemLevelRestoreTargetInfo, RestoreFilesTargetInfo and RestoreTargetInfo.
- sourceDataStoreType
- SourceDataStoreType
Gets or sets the type of the source data store.
Exceptions
restoreTargetInfo
is null.