SnmpHost Constructor (String, UInt16, SnmpV1Community, SnmpVersion)

Updated: April 16, 2012

Namespace: Microsoft.EnterpriseManagement.NetworkMonitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim hostname As String Dim port As UShort Dim community As SnmpV1Community Dim version As SnmpVersion Dim instance As New SnmpHost(hostname, port, community, version)Public Sub New ( _ hostname As String, _ port As UShort, _ community As SnmpV1Community, _ version As SnmpVersion _ )public SnmpHost ( string hostname, ushort port, SnmpV1Community community, SnmpVersion version )public: SnmpHost ( String^ hostname, unsigned short port, SnmpV1Community^ community, SnmpVersion version )public SnmpHost ( String hostname, UInt16 port, SnmpV1Community community, SnmpVersion version )public function SnmpHost ( hostname : String, port : ushort, community : SnmpV1Community, version : SnmpVersion )Parametershostnameportcommunityversion

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms