PowerSNMP for .NET
GetByName Method




MibNode name of the desired Variable(s).
Returns the Variable(s) that match the specified MibNode name.
Syntax
Public Function GetByName( _
   ByVal name As String _
) As Variable()
Dim instance As VariableCollection
Dim name As String
Dim value() As Variable
 
value = instance.GetByName(name)
public Variable[] GetByName( 
   string name
)
public: Variable*[]* GetByName( 
   string* name
) 
public:
array<Variable^>^ GetByName( 
   String^ name
) 

Parameters

name
MibNode name of the desired Variable(s).

Return Value

An array of Variables that match the specified MibNode name.
Remarks

Compatible with MibNode names from dynamically loaded MIBs.

Returns an empty array if the receiving Agent or Manager's Mib does not contain a MibNode definition for the specified MibNode name.

See Also

Reference

VariableCollection Class
VariableCollection Members

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