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


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic