PowerSNMP for .NET
Variable Constructor(MibNode)




MibNode providing a definition for the Variable.
Creates a scalar Variable without a value.
Syntax
Public Function New( _
   ByVal definition As MibNode _
)
Dim definition As MibNode
 
Dim instance As New Variable(definition)
public Variable( 
   MibNode definition
)
public: Variable( 
   MibNode* definition
)
public:
Variable( 
   MibNode^ definition
)

Parameters

definition
MibNode providing a definition for the Variable.
Exceptions
ExceptionDescription
System.ArgumentExceptionThrown if definition does not have a valid ValueType property value.
Remarks

Used for requesting variables from agents, by populating the variables collection of GetMessage, GetNextMessage or GetBulkMessage. To request a table entry, use Variable Constructor(MibNode,String,String) or Variable Constructor(String).

Definition will be populated with definition. definition.Oid + ".0" is used to initialize Id.

See Also

Reference

Variable Class
Variable Members
Overload List

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