SetComplete

Declares that a transaction on a transaction server should be committed.

To commit a transaction

Use

For OLETxnObject objects

Syntax 1 For OLETxnObject objects

For TransactionServer objects

Syntax 2 For TransactionServer objects


Syntax 1 For OLETxnObject objects

Description

Declares that the current transaction should be committed.

Applies to

OLETxnObject objects

Syntax

oletxnobject.SetComplete (  )

Returns

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


Syntax 2 For TransactionServer objects

Description

Declares that the transaction in which a component is participating should be committed and the component instance should be deactivated.

Applies to

TransactionServer objects

Syntax

transactionserver.SetComplete (  )

Returns

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