共用方式為


RestorePlan.SetRestoreOptions 方法

Sets the restore options.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Sub SetRestoreOptions ( _
    restoreOptions As RestoreOptions _
)
'用途
Dim instance As RestorePlan 
Dim restoreOptions As RestoreOptions

instance.SetRestoreOptions(restoreOptions)
public void SetRestoreOptions(
    RestoreOptions restoreOptions
)
public:
void SetRestoreOptions(
    RestoreOptions^ restoreOptions
)
member SetRestoreOptions : 
        restoreOptions:RestoreOptions -> unit
public function SetRestoreOptions(
    restoreOptions : RestoreOptions
)

參數

請參閱

參考

RestorePlan 類別

Microsoft.SqlServer.Management.Smo 命名空間