IRepositoryTransaction::get_Status

See Also

Use this method to determine whether or not there is a currently active transaction.

HRESULT get_Status(long    *piStatus );

Parameters

*piStatus
[out]
The current transaction status. If the value is zero, no transaction is active. If the value is nonzero, a transaction is active.

Return Value

S_OK

The method completed successfully.

Error
Values

This method failed to complete successfully.

Remarks

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.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.