PowerSNMP for .NET
GetByTrapAttributes Method




The generic trap value.
The specific trap value.
The enterprise value.
Returns the MibTrap with the specified generic trap, specific trap, and enterprise values.
Syntax
Public Function GetByTrapAttributes( _
   ByVal genericTrap As Integer, _
   ByVal specificTrap As Integer, _
   ByVal enterprise As String _
) As MibTrap
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)
public MibTrap GetByTrapAttributes( 
   int genericTrap,
   int specificTrap,
   string enterprise
)
public: MibTrap* GetByTrapAttributes( 
   int genericTrap,
   int specificTrap,
   string* enterprise
) 
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.
See Also

Reference

MibTraps Class
MibTraps Members

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic