Get TRAP ObjectID class from SNMPv2 TRAP and INFORM PDUs

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

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

Exceptions

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

See Also