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: System.String

The name of the database to be restored.

backupSet
Type: Microsoft.SqlServer.Management.Smo.BackupSet

The backup set.

Return to top
Show: