Export (0) Print
Expand All

Restore Constructor (String, BackupSet)

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)

public Restore(
	string DestinationDatabaseName,
	BackupSet backupSet
)

Parameters

DestinationDatabaseName
Type: String
The name of the database to be restored.
backupSet
Type: Microsoft.SqlServer.Management.Smo.BackupSet
The backup set.

Community Additions

ADD
Show:
© 2014 Microsoft