[TIBCO.EMS .NET client library 5.1 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Create a EMSDTCConnection
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public EMSDTCConnection CreateEMSDTCConnection( string userName, string password ) |
Public Function CreateEMSDTCConnection ( _ userName As String, _ password As String _ ) As EMSDTCConnection |
public: EMSDTCConnection^ CreateEMSDTCConnection( String^ userName, String^ password ) |
Return Value
The newly created EMSDTCConnection.
Remarks
The connection object presents
a default user identity. If the server configuration permits that user,
then the call succeeds.
NOTE: Before creating an EMSDTCConnection, the clientId has to be set
for the connection factory or else an exception is thrown to indicate
the absence of clientId.
Exceptions
Exception | Condition |
---|---|
TIBCO.EMS..::.EMSException | If the cilentID is null or some other internal error |