OpenConnection(String,String) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Opens a new IPubSubConnection to the local PubSub engine with the provided application name and client host name.
IPubSubConnection OpenConnection(
string applicationName,
string clientHostName
)
IPubSubConnection^ OpenConnection(
String^ applicationName,
String^ clientHostName
)
Parameters
- applicationName
- A string identifier for this connection. If blank, the value appnameGlobal plus the connection number will be used.
- clientHostName
- The PubSub Client's host name.
Return Value
A new IPubSubConnection instance.