Click to Rate and Give Feedback
MSDN
MSDN Library
DTC Interfaces
ITmNodeName
ITmNodeName
ITmNodeName

The ITmNodeName interface is used to get the node name that specifies the location of the transaction manager used by the Distributed Transaction Coordinator (DTC) proxy.

You do not need to implement this interface. It is implemented by the transaction object of the DTC proxy.

Use this interface when you need to get the node name that specifies the location of the transaction manager used by the Distributed Transaction Coordinator (DTC) proxy.

ITmNodeName methods Description

GetNodeNameSize

Gets the length, in bytes, of the node name that will be returned by GetNodeName.

GetNodeName

Gets the node name that specifies the location of the transaction manager used by the DTC proxy.

When you call DtcGetTransactionManager or DtcGetTransactionManagerEx, you can optionally specify a node name that indicates the location of the transaction manager used by the DTC proxy. Once the proxy is initialized to use a specific transaction manager, it cannot be changed. Use the ITmNodeName interface to get the node name that specifies the location of the transaction manager.

Note that if you call DtcGetTransactionManager or DtcGetTransactionManagerEx with node name "A", and then call DtcGetTransactionManager or DtcGetTransactionManagerEx again with node name "B", the second call will not fail, but the DTC proxy will still be connected only to node name "A".

For an explanation of the requirement values, see Requirements.

Windows NT/2000/XP: Requires Windows Server 2003 or later.

Windows 95/98: Unsupported.

Header: Declared in txdtc.h.

Library: msdtcprx.dll.

Send comments about this topic to Microsoft.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker