Get TRAP ObjectID class from SNMPv2 TRAP and INFORM PDUs

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.7.0.0 (0.7.0.0)

Syntax

C#
public Oid TrapObjectID { get; set; }
Visual Basic (Declaration)
Public Property TrapObjectID As Oid
Visual C++
public:
property Oid^ TrapObjectID {
	Oid^ get ();
	void set (Oid^ value);
}

Exceptions

ExceptionCondition
SnmpInvalidPduTypeExceptionThrown when property is access for a Pdu of a type other then V2TRAP, INFORM or RESPONSE

See Also