Platform SDK: Transaction Server

Life of a Transaction: Resource Manager Enlistment (Phases)

f1 The client calls the RM proxy to ask the resource manager to enlist in the transaction. The syntax of this call is the responsibility of the resource manager developer. Typically, the call includes at least two parameters. One parameter identifies the resource manager connection handle that the client chooses to use. The other parameter is a pointer to the transaction object. For example, if your RM proxy is based upon ODBC, you might use the SQLSetConnectionOption call.
f2 If this is the RM proxy’s first enlistment with this resource manager, then the RM proxy must create an export object for the resource manager. The RM proxy creates the export object as described immediately below. If the RM proxy already has an export object for this resource manager, then the RM proxy uses the existing export object and proceeds directly to Exporting a Transaction as described further below.