Restore 构造函数

Initializes a new instance of the Restore class.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)

语法

声明
Public Sub New
用法

Dim instance As New Restore()
public Restore()
public:
Restore()
new : unit -> Restore
public function Restore()

注释

The default constructor initializes any fields to their default values.

示例

The following code example demonstrates how to define a new instance of the Restore class.

VB

Dim rs As Restore
rs = New Restore

PowerShell

$rs = new-object Microsoft.SqlServer.Management.Smo.Restore