Syntax 1: For OLETxnObject objects – PB Docs 2017

Syntax 1: For OLETxnObject objects

Description

Declares that the current transaction should be rolled
back.

Applies to

OLETxnObject objects

Syntax

Argument

Description

oletxnobject

The name of the OLETxnObject variable that is connected
to the COM object

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs.

Usage

Call the SetAbort function from the client to force a COM+
transaction to be rolled back. The default is to complete the
transaction if all participants in the transaction on the COM+ server
have called SetComplete or EnableCommit.

Examples

The following example shows the use of SetAbort in a component
method that performs database updates:

See also

SetComplete


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x