PowerSNMP for .NET
GenericTrap Property




Gets the generic trap as initialized in the constructor or when decoded.
Syntax
Public Property GenericTrap As Integer
Dim instance As Trap1Message
Dim value As Integer
 
instance.GenericTrap = value
 
value = instance.GenericTrap
public int GenericTrap {get; set;}
public: __property int get_GenericTrap();
public: __property void set_GenericTrap( 
   int value
);
public:
property int GenericTrap {
   int get();
   void set (    int value);
}
Remarks
The value of this property corresponds as follows:
Value Name
0 coldStart
1 warmStart
2 linkDown
3 linkUp
4 authenticationFailure
5 egpNeighborLoss
6 enterpriseSpecific
See Also

Reference

Trap1Message Class
Trap1Message Members

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