DatabaseRestorePlanner.CreateRestorePlan 方法 (RestoreOptions)
Creates the restore plan with restore options.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
Public Function CreateRestorePlan ( _
ro As RestoreOptions _
) As RestorePlan
'用途
Dim instance As DatabaseRestorePlanner
Dim ro As RestoreOptions
Dim returnValue As RestorePlan
returnValue = instance.CreateRestorePlan(ro)
public RestorePlan CreateRestorePlan(
RestoreOptions ro
)
public:
RestorePlan^ CreateRestorePlan(
RestoreOptions^ ro
)
member CreateRestorePlan :
ro:RestoreOptions -> RestorePlan
public function CreateRestorePlan(
ro : RestoreOptions
) : RestorePlan
參數
- ro
型別:Microsoft.SqlServer.Management.Smo.RestoreOptions
The restore options.
傳回值
型別:Microsoft.SqlServer.Management.Smo.RestorePlan
The restore plan.