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.
public: void GetCompletionStatus();
public void GetCompletionStatus();
Public Function GetCompletionStatus() As void
If server sends back to the client the error, node_exception exception, containing the error message, will be thrown