Share via


IResultInfo.CompletedSuccessfully Property

Gets a value indicating whether the execution was successful.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
ReadOnly Property CompletedSuccessfully As Boolean
    Get
'Usage
Dim instance As IResultInfo
Dim value As Boolean

value = instance.CompletedSuccessfully
bool CompletedSuccessfully { get; }
property bool CompletedSuccessfully {
    bool get ();
}
abstract CompletedSuccessfully : bool
function get CompletedSuccessfully () : boolean

Property Value

Type: System.Boolean
True if the Transact-SQL execution was successful, or false if an exception was thrown.