Use this method to determine whether or not there is a currently active transaction.
HRESULT get_Status(long *piStatus );
Parameters
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
A transaction is considered active until the Commit method has successfully executed and the nested transaction count has been decremented to zero. Depending upon the data-flushing capabilities of the underlying database server, the data associated with a committed transaction may or may not be written to the physical storage device when the Commit method returns control to its caller.