共用方式為


BackupRecoveryPointBasedRestoreContent Constructor

Definition

Initializes a new instance of BackupRecoveryPointBasedRestoreContent.

public BackupRecoveryPointBasedRestoreContent (Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase restoreTargetInfo, Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType sourceDataStoreType, string recoveryPointId);
new Azure.ResourceManager.DataProtectionBackup.Models.BackupRecoveryPointBasedRestoreContent : Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase * Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType * string -> Azure.ResourceManager.DataProtectionBackup.Models.BackupRecoveryPointBasedRestoreContent
Public Sub New (restoreTargetInfo As RestoreTargetInfoBase, sourceDataStoreType As SourceDataStoreType, recoveryPointId As String)

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.

recoveryPointId
String

Exceptions

restoreTargetInfo or recoveryPointId is null.

Applies to