Share via


Restore.SqlVerify Method

Definition

Overloads

SqlVerify(Server)

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

SqlVerify(Server, Boolean)

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

SqlVerify(Server, String)

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

SqlVerify(Server, Boolean, String)

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

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 to run verification on.

Returns

true if verification succeeded, false otherwise

Applies to

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 to run verification on.

loadHistory
Boolean

Load history.

Returns

true if verification succeeded, false otherwise

Applies to

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 * string -> bool
Public Function SqlVerify (srv As Server, ByRef errorMessage As String) As Boolean

Parameters

srv
Server

Server to run verification on.

errorMessage
String

Returns a detailed error message if verification failed.

Returns

true if verification succeeded, false otherwise

Applies to

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 * string -> bool
Public Function SqlVerify (srv As Server, loadHistory As Boolean, ByRef errorMessage As String) As Boolean

Parameters

srv
Server

Server to run verification on.

loadHistory
Boolean

Load history.

errorMessage
String

Returns a detailed error message if verification failed.

Returns

true if verification succeeded, false otherwise

Applies to