Share via


Resource Manager Object

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

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 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

 IResourceManager2