Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetProtParam - method of object PmComm

Description:
The method allows to modify some values that are set in the PmComm > Parameters > Protocol parameters configurator.
Syntax:
SetProtParam(sParam As String, Value As Variant) As Boolean
Calling:
oComm.SetProtParam sParam, Value
Parameters:
sParam(String) Name of the parameter.
"CommunityRO" - The parameter value is a String - ReadOnly community name.

This parameter can be used for the following drivers: PmSNMP.

"CommunityRW" - The parameter value is a String - ReadWrite community name.

This parameter can be used for the following drivers: PmSNMP.

Value(Variant) Parameter value.
Return Values:
true - on success
false - on error
Example:
Changes parameter "ReadOnly community name" to value "publicXX"
oComm.SetProtParam "CommunityRO", "publicXX"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice