PowerSNMP for .NET CF
GetByTrapAttributes Method
See Also  Send comments on this topic.
Dart.Snmp Namespace > MibTraps Class : GetByTrapAttributes Method




genericTrap
The generic trap value.
specificTrap
The specific trap value.
enterprise
The enterprise value.
Returns the MibTrap with the specified generic trap, specific trap, and enterprise values.

Syntax

Visual Basic (Declaration) 
Public Function GetByTrapAttributes( _
   ByVal genericTrap As Integer, _
   ByVal specificTrap As Integer, _
   ByVal enterprise As String _
) As MibTrap
Visual Basic (Usage)Copy Code
Dim instance As MibTraps
Dim genericTrap As Integer
Dim specificTrap As Integer
Dim enterprise As String
Dim value As MibTrap
 
value = instance.GetByTrapAttributes(genericTrap, specificTrap, enterprise)
C# 
public MibTrap GetByTrapAttributes( 
   int genericTrap,
   int specificTrap,
   string enterprise
)
Managed Extensions for C++ 
public: MibTrap* GetByTrapAttributes( 
   int genericTrap,
   int specificTrap,
   string* enterprise
) 
C++/CLI 
public:
MibTrap^ GetByTrapAttributes( 
   int genericTrap,
   int specificTrap,
   String^ enterprise
) 

Parameters

genericTrap
The generic trap value.
specificTrap
The specific trap value.
enterprise
The enterprise value.

Return Value

A matching MibTrap object, otherwise null.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.