DatabaseRestorePlanner.CreateRestorePlan Method (RestoreOptions)
Creates the restore plan with restore options.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Function CreateRestorePlan ( _
ro As RestoreOptions _
) As RestorePlan
'Usage
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
Parameters
- ro
Type: Microsoft.SqlServer.Management.Smo.RestoreOptions
The restore options.
Return Value
Type: Microsoft.SqlServer.Management.Smo.RestorePlan
The restore plan.