PowerSNMP for .NET
Variable Constructor(String)




The IID, OID or OID fragment used to initialize Id. '0.0' is the minimum value that may be encoded.
Creates a Variable without a value.
Syntax
Public Function New( _
   ByVal id As String _
)
Dim id As String
 
Dim instance As New Variable(id)
public Variable( 
   string id
)
public: Variable( 
   string* id
)
public:
Variable( 
   String^ id
)

Parameters

id
The IID, OID or OID fragment used to initialize Id. '0.0' is the minimum value that may be encoded.
Remarks

Used for requesting variables from agents, by populating the variables collection of GetMessage, GetNextMessage or GetBulkMessage.

Value is initialized to Dart.Snmp.SimpleType.Empty. An agent's response will include the relevant id and its value. GetMessage generates a ResponseMessage with matching Ids, while GetNextMessage and GetBulkMessage produce a ResponseMessage with Ids that are "next" (in lexicographical order) to those in the request.

See Also

Reference

Variable Class
Variable Members
Overload List


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic