共用方式為


DatabaseRestorePlanner 建構函式 (Server, String, DateTime, String)

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Sub New ( _
    server As Server, _
    databaseName As String, _
    pointInTime As DateTime, _
    tailLogBackupFile As String _
)
'用途
Dim server As Server 
Dim databaseName As String 
Dim pointInTime As DateTime 
Dim tailLogBackupFile As String 

Dim instance As New DatabaseRestorePlanner(server, _
    databaseName, pointInTime, tailLogBackupFile)
public DatabaseRestorePlanner(
    Server server,
    string databaseName,
    DateTime pointInTime,
    string tailLogBackupFile
)
public:
DatabaseRestorePlanner(
    Server^ server, 
    String^ databaseName, 
    DateTime pointInTime, 
    String^ tailLogBackupFile
)
new : 
        server:Server * 
        databaseName:string * 
        pointInTime:DateTime * 
        tailLogBackupFile:string -> DatabaseRestorePlanner
public function DatabaseRestorePlanner(
    server : Server, 
    databaseName : String, 
    pointInTime : DateTime, 
    tailLogBackupFile : String
)

參數

  • tailLogBackupFile
    型別:System.String
    The tail log backup device item.

請參閱

參考

DatabaseRestorePlanner 類別

DatabaseRestorePlanner 多載

Microsoft.SqlServer.Management.Smo 命名空間