Partager via


Constructeur Restore

Initializes a new instance of the Restore class.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Sub New
'Utilisation

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

Notes

The default constructor initializes any fields to their default values.

Exemples

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