|
MessengerGetTable Method
|
Note: This API is now obsolete.
Gets a table of variables.
Namespace: GSF.Net.Snmp.MessagingAssembly: GSF.Net (in GSF.Net.dll) Version: 2.4.248-beta
Syntax[CLSCompliantAttribute(false)]
[ObsoleteAttribute("This method only works for a few scenarios. Might be replaced by new methods in the future. If it does not work for you, parse WALK result on your own.")]
public static Variable[,] GetTable(
VersionCode version,
IPEndPoint endpoint,
OctetString community,
ObjectIdentifier table,
int timeout,
int maxRepetitions
)
<CLSCompliantAttribute(false)>
<ObsoleteAttribute("This method only works for a few scenarios. Might be replaced by new methods in the future. If it does not work for you, parse WALK result on your own.")>
Public Shared Function GetTable (
version As VersionCode,
endpoint As IPEndPoint,
community As OctetString,
table As ObjectIdentifier,
timeout As Integer,
maxRepetitions As Integer
) As Variable(,)
public:
[CLSCompliantAttribute(false)]
[ObsoleteAttribute(L"This method only works for a few scenarios. Might be replaced by new methods in the future. If it does not work for you, parse WALK result on your own.")]
static array<Variable^,2>^ GetTable(
VersionCode version,
IPEndPoint^ endpoint,
OctetString^ community,
ObjectIdentifier^ table,
int timeout,
int maxRepetitions
)
[<CLSCompliantAttribute(false)>]
[<ObsoleteAttribute("This method only works for a few scenarios. Might be replaced by new methods in the future. If it does not work for you, parse WALK result on your own.")>]
static member GetTable :
version : VersionCode *
endpoint : IPEndPoint *
community : OctetString *
table : ObjectIdentifier *
timeout : int *
maxRepetitions : int -> Variable[,]
GSF.Net.Snmp.Messaging.Messenger.GetTable = function(version, endpoint, community, table, timeout, maxRepetitions);
View SourceParameters
- version VersionCode
- Protocol version.
- endpoint IPEndPoint
- Endpoint.
- community OctetString
- Community name.
- table ObjectIdentifier
- Table OID.
- timeout Int32
- The time-out value, in milliseconds. The default value is 0, which indicates an infinite time-out period. Specifying -1 also indicates an infinite time-out period.
- maxRepetitions Int32
- The max repetitions.
Return Value
Variable
RemarksThis method supports SNMP v2c and v3.
See Also