Restore.SqlVerify Restore.SqlVerify Restore.SqlVerify Method

Definition

Overloads

SqlVerify(Server) SqlVerify(Server) SqlVerify(Server)

Runs Verify operation in a synchronous way, i.e. the call blocks until verification is completed.

SqlVerify(Server, Boolean) SqlVerify(Server, Boolean) SqlVerify(Server, Boolean)

Runs Verify operation in a synchronous way, i.e. the call blocks until verification is completed.

SqlVerify(Server, String) SqlVerify(Server, String) SqlVerify(Server, String)

Runs Verify operation in a synchronous way, i.e. the call blocks until verification is completed.

SqlVerify(Server, Boolean, String) SqlVerify(Server, Boolean, String) SqlVerify(Server, Boolean, String)

Runs Verify operation in a synchronous way, i.e. the call blocks until verification is completed.

SqlVerify(Server) SqlVerify(Server) SqlVerify(Server)

Runs Verify operation in a synchronous way, i.e. the call blocks until verification is completed.

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

Parameters

srv
Server Server Server

Server to run verification on.

Returns

true if verification succeeded, false otherwise

SqlVerify(Server, Boolean) SqlVerify(Server, Boolean) SqlVerify(Server, Boolean)

Runs Verify operation in a synchronous way, i.e. the call blocks until verification is completed.

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

Parameters

srv
Server Server Server

Server to run verification on.

loadHistory
Boolean Boolean Boolean

Load history.

Returns

true if verification succeeded, false otherwise

SqlVerify(Server, String) SqlVerify(Server, String) SqlVerify(Server, String)

Runs Verify operation in a synchronous way, i.e. the call blocks until verification is completed.

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

Parameters

srv
Server Server Server

Server to run verification on.

errorMessage
String String String

Returns a detailed error message if verification failed.

Returns

true if verification succeeded, false otherwise

SqlVerify(Server, Boolean, String) SqlVerify(Server, Boolean, String) SqlVerify(Server, Boolean, String)

Runs Verify operation in a synchronous way, i.e. the call blocks until verification is completed.

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

Parameters

srv
Server Server Server

Server to run verification on.

loadHistory
Boolean Boolean Boolean

Load history.

errorMessage
String String String

Returns a detailed error message if verification failed.

Returns

true if verification succeeded, false otherwise

Applies to