Compartilhar via


DatabaseRestorePlanner Constructors

Definition

Overloads

DatabaseRestorePlanner(Server)

Initializes a new instance of the DatabaseRestorePlanner class.

DatabaseRestorePlanner(Server, String)

Initializes a new instance of the DatabaseRestorePlanner class.

DatabaseRestorePlanner(Server, String, DateTime, String)

Initializes a new instance of the DatabaseRestorePlanner class. For point in time recovery.

DatabaseRestorePlanner(Server)

Initializes a new instance of the DatabaseRestorePlanner class.

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

Parameters

server
Server

The server.

Applies to

DatabaseRestorePlanner(Server, String)

Initializes a new instance of the DatabaseRestorePlanner class.

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

Parameters

server
Server

The server.

databaseName
String

Name of the database.

Applies to

DatabaseRestorePlanner(Server, String, DateTime, String)

Initializes a new instance of the DatabaseRestorePlanner class. For point in time recovery.

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

Parameters

server
Server

The server.

databaseName
String

Name of the database.

pointInTime
DateTime

The point in time to restore.

tailLogBackupFile
String

The tail log backup device item.

Applies to