See Also
You are here: Interfacing > C++ Client Interface > scdriver Namespace > Classes > CConnection Class > CConnection Methods > GetCompletionStatus Method
ContentsIndexHome
PreviousUpNext
CConnection::GetCompletionStatus Method

The function call will block until database responded executed query status. If database returns an error the [node_exception] exception with an error message will be thrown. Otherwise, if defined, query events/callbacks will be fired. The callback event is set with SetConnectionStateCallback function. The GetCompletionStatus(), must always be called right after CConnection: Execute, CCommand::Execute/Open or CRecordset::Open, unless, the query is asynchronuos - in this case, call the function after completion event has been fired.

C++
public: void GetCompletionStatus();
C#
public void GetCompletionStatus();
Visual Basic
Public Function GetCompletionStatus() As void
Returns

If server sends back to the client the error, node_exception exception, containing the error message, will be thrown