OpenConnection(String,String,Int16,String,String,String) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Opens a new IPubSubConnection to the specified PubSub engine with the provided application name, user, and password on a trusted domain.
IPubSubConnection OpenConnection(
string applicationName,
string ipName,
short port,
string domain,
string user,
string password
)
IPubSubConnection^ OpenConnection(
String^ applicationName,
String^ ipName,
short port,
String^ domain,
String^ user,
String^ password
)
Parameters
- applicationName
- A string identifier for this connection. If blank, the value appnameGlobal plus the connection number will be used.
- ipName
- The IP address or computer name to connect to.
- port
- The port number to use (0 for default).
- domain
- The security domain for the log on.
- user
- The security user for the log on.
- password
- The password for the user log in.
Return Value
A new IPubSubConnection instance.