Gets or sets the Simple Network Management Protocol (SNMP) version to use when discovering network devices. Only version 1 and version 2 are supported. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As DeviceDiscoveryConfiguration
Dim value As Integer

value = instance.SnmpVersion

instance.SnmpVersion = value

Syntax

Visual Basic
Public Property SnmpVersion As Integer
C#
public int SnmpVersion { get; set; }
C++
public:
property int SnmpVersion {
		int get ();
		void set (int value);
}
J#
/** @property */
public int get_SnmpVersion ()

/** @property */
public void set_SnmpVersion (int value)
JScript
public function get SnmpVersion () : int

public function set SnmpVersion (value : int)

Property Value

An integer value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also