DatabaseRestorePlanner Constructor (Server, String, DateTime, String)

 

Initializes a new instance of the DatabaseRestorePlanner class with specified server, database name, point in time and recovery file.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

public DatabaseRestorePlanner(
	Server server,
	string databaseName,
	DateTime pointInTime,
	string tailLogBackupFile
)

Parameters

server
Type: Microsoft.SqlServer.Management.Smo.Server

The server.

databaseName
Type: System.String

Name of the database.

pointInTime
Type: System.DateTime

The point in time to restore.

tailLogBackupFile
Type: System.String

The tail log backup device item.

Return to top
Show: