Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 5.1 documentation]

Save changes to the connection factory stored at the given JNDI name using information from the given ConnectionFactoryInfo.

Namespace: TIBCO.EMS.ADMIN
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

# Syntax

    public void UpdateConnectionFactory(
    	string jndiName,
    	ConnectionFactoryInfo cfi
    )

    Public Sub UpdateConnectionFactory ( _
    	jndiName As String, _
    	cfi As ConnectionFactoryInfo _
    )

    public:
    void UpdateConnectionFactory(
    	String^ jndiName,
    	ConnectionFactoryInfo^ cfi
    )

#### Parameters

jndiName
  Type: System..::.String
  The JNDI name of the factory that will be updated.

cfi
  Type: TIBCO.EMS.ADMIN..::.ConnectionFactoryInfo
  The updated info for the factory.

# Remarks

This method can only be used to update a factory that already exists on the server. To create a new factory use the CreateConnectionFactory(String, ConnectionFactoryInfo) method.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if jndiName is not a legal JNDI name.
System..::.ArgumentException | if ConnectionFactoryInfo object is null.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace