Collapse All Expand All

.NET Framework Class Library
ConnectionFactory Class See Also

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

Create a connection object with the given user name and password.

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

# Syntax

    public Connection CreateConnection(
    	string userName,
    	string password
    )

    Public Function CreateConnection ( _
    	userName As String, _
    	password As String _
    ) As Connection

    public:
    Connection^ CreateConnection(
    	String^ userName,
    	String^ password
    )

#### Parameters

userName
  Type: System..::.String
  The connection object presents this user identity to the server. This parameter can be omitted if the server isnt authenticating or authorizing users.

password
  Type: System..::.String
  The connection object authenticates the user identity with this password. This parameter can be omitted if the server isnt authenticating or authorizing users.

#### Return Value

The newly created Connection.

# Remarks

# See Also

ConnectionFactory Class
CreateConnection Overload
TIBCO.EMS.UFO Namespace