RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMtsDataModule.SetComplete Method

Indicates that the MTS data module has successfully completed its current task.

Pascal
procedure SetComplete;
C++
__fastcall SetComplete();

Call SetComplete to indicate that the MTS data module no longer needs to maintain state information. After calling SetComplete, the MTS data module is deactivated when the current method call exits. 

If the MTS data module is part of a transaction, SetComplete indicates that this part of the transaction can commit. If MTS or COM+ started the transaction automatically when the client called the MTS data module's method (because the MTS data module requires a transaction), it tries to commit the transaction when the current method exits.

Note: This transaction may still fail if the current transaction included another MTS or COM+ object that called SetAbort or DisableCommit.
 

 

SetAbort 

DisableCommit 

EnableCommit 

IsInTransaction 

Extending the Interface of the Application Server

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!