GetParameter Method (ISharedPubSubConnection)
- Last UpdatedApr 08, 2026
- 1 minute read
Retrieves the value of a PubSub parameter.
bool GetParameter(
string parameterName,
out string outputParameterValue
)
bool GetParameter(
String^ parameterName,
[Out] String^ outputParameterValue
)
Parameters
- parameterName
- Identifies the parameter.
- outputParameterValue
- A string to store the retrieved value in.
Return Value
true if the value of a PubSub parameter can be retrieved. Otherwise, false.
PubSubConnection PS = new PubSubConnection();
PS.GetParameter("PS_CONNECT_TIMEOUT", parameter, 1024);
PubSubConnection PS = new PubSubConnection();
PS.GetParameter("PS_CONNECT_TIMEOUT", parameter, 1024);