Platform SDK: Transaction Server |
The resource manager object represents the connection between a resource manager and a transaction manager. A resource manager object is created when a resource manager initially connects to a transaction manager.
Origin: | A resource manager creates a resource manager object by calling the IResourceManagerFactory::Create method. This call is typically made during resource manager initialization. |
Occurrences: | One instance of the resource manager object is present for each resource manager to transaction manager connection. The resource manager passes its RMGUID when calling IResourceManagerFactory::Create. The transaction manager uses the RMGUID to ensure that a resource manager connects to the transaction manager only one time.
Typically, a resource manager only connects to one transaction manager, namely its local MS DTC transaction manager. |
Duration: | The resource manager object exists for the life of the resource manager-to-transaction manager connection. Typically, this connection exists for the life of the resource manager. The resource manager object should be released before the resource manager terminates. |
Interfaces: | IUnknown IResourceManager |