PowerSNMP for .NET
GetByTrapName Method




The name of the MibTrap to get.
Returns the MibTrap with the given name.
Syntax
Public Function GetByTrapName( _
   ByVal trapName As Enum _
) As MibTrap
Dim instance As MibTraps
Dim trapName As Enum
Dim value As MibTrap
 
value = instance.GetByTrapName(trapName)
public MibTrap GetByTrapName( 
   Enum trapName
)
public: MibTrap* GetByTrapName( 
   Enum* trapName
) 
public:
MibTrap^ GetByTrapName( 
   Enum^ trapName
) 

Parameters

trapName
The name of the MibTrap to get.

Return Value

A MibTrap
Remarks

The trapName parameter is an enumeration of trap names. Intrinsic names are provided by the Dart.Snmp.TrapName enumeration. Trap names from imported MIB files are provided by the Dart.Snmp.Mib.TrapName enumeration.

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