[TIBCO.EMS .NET client library 6.0 documentation]

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

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.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 isn’t 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 isn’t authenticating or authorizing users.

Return Value

The newly created Connection.

Remarks