Member Of: TMtsDataModule
Indicates that the MTS data module has successfully completed its current task.
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.