Creates a new connection with the given user name and password
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateConnection ( _ userName As String, _ password As String _ ) As IConnection |
| C# |
|---|
IConnection CreateConnection( string userName, string password ) |
| Visual C++ |
|---|
IConnection^ CreateConnection( String^ userName, String^ password ) |
| JavaScript |
|---|
function createConnection(userName, password); |