Get/Set SNMP protocol version.
Namespace: SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.0.0 (0.9.0)
Syntax
| C# |
|---|
public virtual SnmpVersion Version { get; set; } |
| Visual Basic |
|---|
Public Overridable Property Version As SnmpVersion Get Set |
| Visual C++ |
|---|
public: virtual property SnmpVersion Version { SnmpVersion get (); void set (SnmpVersion value); } |
Implements
IAgentParameters..::..Version
Exceptions
| Exception | Condition |
|---|---|
| SnmpSharpNet..::..SnmpInvalidVersionException | Thrown when attempting to set protocol version other then version 1 or 2c |