SetParameter Method (PubSubConnection)
- Last UpdatedApr 08, 2026
- 1 minute read
Sets an internal PubSub parameter.
public bool SetParameter(
string parameterName,
string parameterValue
)
public:
bool SetParameter(
String^ parameterName,
String^ parameterValue
)
Parameters
- parameterName
- The name of the parameter.
- parameterValue
- The value of the parameter as a string.
PubSubConnection PS = new PubSubConnection();
PS.SetParameter("PS_CONNECT_TIMEOUT", "600");
PubSubConnection PS = new PubSubConnection();
PS.SetParameter("PS_CONNECT_TIMEOUT", "600");