Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the Restore class with specified destination database name and backup set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Sub New ( _
DestinationDatabaseName As String, _
backupSet As BackupSet _
)
'Usage
Dim DestinationDatabaseName As String
Dim backupSet As BackupSet
Dim instance As New Restore(DestinationDatabaseName, _
backupSet)
public Restore(
string DestinationDatabaseName,
BackupSet backupSet
)
public:
Restore(
String^ DestinationDatabaseName,
BackupSet^ backupSet
)
new :
DestinationDatabaseName:string *
backupSet:BackupSet -> Restore
public function Restore(
DestinationDatabaseName : String,
backupSet : BackupSet
)
Parameters
- DestinationDatabaseName
Type: System.String
The name of the database to be restored.
- backupSet
Type: Microsoft.SqlServer.Management.Smo.BackupSet
The backup set.