Share via


SnmpHost Constructor (String, UInt16, SnmpV1Community, SnmpVersion)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Namespace: Microsoft.EnterpriseManagement.NetworkMonitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
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)

Syntax

'Declaration
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
)

Parameters

  • hostname
  • port
  • community
  • version

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

SnmpHost Class
SnmpHost Members
Microsoft.EnterpriseManagement.NetworkMonitoring Namespace