Compartir a través de


RestorePlan Constructors

Definition

Overloads

RestorePlan(Database)

Initializes a new instance of the RestorePlan class.

RestorePlan(Server)
RestorePlan(Server, String)

Initializes a new instance of the RestorePlan class.

RestorePlan(Database)

Initializes a new instance of the RestorePlan class.

public RestorePlan (Microsoft.SqlServer.Management.Smo.Database database);
new Microsoft.SqlServer.Management.Smo.RestorePlan : Microsoft.SqlServer.Management.Smo.Database -> Microsoft.SqlServer.Management.Smo.RestorePlan
Public Sub New (database As Database)

Parameters

database
Database

The database.

Applies to

RestorePlan(Server)

public RestorePlan (Microsoft.SqlServer.Management.Smo.Server server);
new Microsoft.SqlServer.Management.Smo.RestorePlan : Microsoft.SqlServer.Management.Smo.Server -> Microsoft.SqlServer.Management.Smo.RestorePlan
Public Sub New (server As Server)

Parameters

server
Server

Applies to

RestorePlan(Server, String)

Initializes a new instance of the RestorePlan class.

public RestorePlan (Microsoft.SqlServer.Management.Smo.Server server, string databaseName);
new Microsoft.SqlServer.Management.Smo.RestorePlan : Microsoft.SqlServer.Management.Smo.Server * string -> Microsoft.SqlServer.Management.Smo.RestorePlan
Public Sub New (server As Server, databaseName As String)

Parameters

server
Server

The server.

databaseName
String

Name of the database.

Applies to