共用方式為


New-DPMRecoveryTarget

語法

New-DPMRecoveryTarget
   [-Type] <AmDatasourceType>
   [-RecoveryTarget] <String>
   [-RecoveredFilesPath] <String>
   [<CommonParameters>]
New-DPMRecoveryTarget
   [-Type] <AmDatasourceType>
   [-RecoveryTarget] <String>
   [-Unrestricted]
   [<CommonParameters>]

範例

1:

PS C:\>

2:

PS C:\>

參數

-RecoveredFilesPath

類型:String
Position:3
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-RecoveryTarget

類型:String
Position:2
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-Type

類型:AmDatasourceType
接受的值:SqlDatabase, SqlInstance
Position:1
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-Unrestricted

類型:SwitchParameter
Position:3
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False