共用方式為


Restore Constructors

Definition

Overloads

Restore()
Restore(String, BackupSet)

Creates a Restore object

Restore()

public Restore ();
Public Sub New ()

Applies to

Restore(String, BackupSet)

Creates a Restore object

public Restore (string DestinationDatabaseName, Microsoft.SqlServer.Management.Smo.BackupSet backupSet);
new Microsoft.SqlServer.Management.Smo.Restore : string * Microsoft.SqlServer.Management.Smo.BackupSet -> Microsoft.SqlServer.Management.Smo.Restore
Public Sub New (DestinationDatabaseName As String, backupSet As BackupSet)

Parameters

DestinationDatabaseName
String

Name of the database to be restored.

backupSet
BackupSet

The backup set.

Applies to