Restore.SqlVerifyLatest Restore.SqlVerifyLatest Restore.SqlVerifyLatest Method

Definition

Overloads

SqlVerifyLatest(Server, SqlVerifyAction, String) SqlVerifyLatest(Server, SqlVerifyAction, String)

Performs a verify on the last backup recorded in the backup history. FileNumber will be ignored, as the latest file number will be automatically determined.

SqlVerifyLatest(Server, String) SqlVerifyLatest(Server, String) SqlVerifyLatest(Server, String)

Performs a verify on the last backup recorded in the backup history. FileNumber will be ignored, as the latest file number will be automatically determined.

SqlVerifyLatest(Server, SqlVerifyAction) SqlVerifyLatest(Server, SqlVerifyAction)

Performs a verify on the last backup recorded in the backup history. FileNumber will be ignored, as the latest file number will be automatically determined.

SqlVerifyLatest(Server) SqlVerifyLatest(Server) SqlVerifyLatest(Server)

Performs a verify on the last backup recorded in the backup history. FileNumber will be ignored, as the latest file number will be automatically determined.

SqlVerifyLatest(Server, SqlVerifyAction, String) SqlVerifyLatest(Server, SqlVerifyAction, String)

Performs a verify on the last backup recorded in the backup history. FileNumber will be ignored, as the latest file number will be automatically determined.

public bool SqlVerifyLatest (Microsoft.SqlServer.Management.Smo.Server srv, Microsoft.SqlServer.Management.Smo.SqlVerifyAction sqlVerifyAction, out string errorMessage);
member this.SqlVerifyLatest : Microsoft.SqlServer.Management.Smo.Server * Microsoft.SqlServer.Management.Smo.SqlVerifyAction *  -> bool

Parameters

srv
Server Server Server

Server to run the operation on.

sqlVerifyAction
SqlVerifyAction SqlVerifyAction SqlVerifyAction

specifies what is the action whose latest results

errorMessage
String String String

Returns a detailed error message if verification failed.

Returns

true if verification succeeded, false otherwise

SqlVerifyLatest(Server, String) SqlVerifyLatest(Server, String) SqlVerifyLatest(Server, String)

Performs a verify on the last backup recorded in the backup history. FileNumber will be ignored, as the latest file number will be automatically determined.

public bool SqlVerifyLatest (Microsoft.SqlServer.Management.Smo.Server srv, out string errorMessage);
member this.SqlVerifyLatest : Microsoft.SqlServer.Management.Smo.Server *  -> bool
Public Function SqlVerifyLatest (srv As Server, ByRef errorMessage As String) As Boolean

Parameters

srv
Server Server Server

Server to run the operation on.

errorMessage
String String String

Returns a detailed error message if verification failed.

Returns

true if verification succeeded, false otherwise

SqlVerifyLatest(Server, SqlVerifyAction) SqlVerifyLatest(Server, SqlVerifyAction)

Performs a verify on the last backup recorded in the backup history. FileNumber will be ignored, as the latest file number will be automatically determined.

public bool SqlVerifyLatest (Microsoft.SqlServer.Management.Smo.Server srv, Microsoft.SqlServer.Management.Smo.SqlVerifyAction sqlVerifyAction);
member this.SqlVerifyLatest : Microsoft.SqlServer.Management.Smo.Server * Microsoft.SqlServer.Management.Smo.SqlVerifyAction -> bool

Parameters

srv
Server Server Server

Server to run the operation on.

sqlVerifyAction
SqlVerifyAction SqlVerifyAction SqlVerifyAction

specifies what is the action whose latest results

Returns

true if verification succeeded, false otherwise

SqlVerifyLatest(Server) SqlVerifyLatest(Server) SqlVerifyLatest(Server)

Performs a verify on the last backup recorded in the backup history. FileNumber will be ignored, as the latest file number will be automatically determined.

public bool SqlVerifyLatest (Microsoft.SqlServer.Management.Smo.Server srv);
member this.SqlVerifyLatest : Microsoft.SqlServer.Management.Smo.Server -> bool
Public Function SqlVerifyLatest (srv As Server) As Boolean

Parameters

srv
Server Server Server

Server to run the operation on.

Returns

true if verification succeeded, false otherwise

Applies to