SnmpSource Help

SnmpVariable.CreateSnmpVariable Method (String, Object, SnmpVarType)

This static method create a SnmpVariable with a value and type associated with an Object Identifier.

public static SnmpVariable CreateSnmpVariable(
   string objectidentifier,
   object val,
   SnmpVarType type
);

Parameters

objectidentifier
The objectidentifier to be created for this variable.
val
The value to be created for this variable. The real type of val should match the type parameter.
type
The type of the variable. See SnmpVarType

Return Value

See Also

SnmpVariable Class | SnmpSource Namespace | SnmpVariable.CreateSnmpVariable Overload List