Declares that a transaction on a transaction server should be rolled back.
To roll back a transaction |
Use |
---|---|
For OLETxnObject objects |
|
For TransactionServer objects |
Declares that the current transaction should be rolled back.
OLETxnObject objects
oletxnobject.SetAbort ( )
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Declares that a component cannot complete its work for the current transaction and that the transaction should be rolled back. The component instance are deactivated when the method returns.
TransactionServer objects
transactionserver.SetAbort ( )
Integer. Returns 1 if it succeeds and -1 if an error occurs.