Udostępnij za pośrednictwem


SnmpHost Constructor (String, UInt16, SnmpV1Community)

[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 instance As New SnmpHost(hostname, port, community)

Syntax

'Declaration
Public Sub New ( _
    hostname As String, _
    port As UShort, _
    community As SnmpV1Community _
)
public SnmpHost (
    string hostname,
    ushort port,
    SnmpV1Community community
)
public:
SnmpHost (
    String^ hostname, 
    unsigned short port, 
    SnmpV1Community^ community
)
public SnmpHost (
    String hostname, 
    UInt16 port, 
    SnmpV1Community community
)
public function SnmpHost (
    hostname : String, 
    port : ushort, 
    community : SnmpV1Community
)

Parameters

  • hostname
  • port
  • community

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

SnmpHost Class
SnmpHost Members
Microsoft.EnterpriseManagement.NetworkMonitoring Namespace