|
MessengerBulkWalk(VersionCode, IPEndPoint, OctetString, OctetString, ObjectIdentifier, IListVariable, Int32, Int32, WalkMode, IPrivacyProvider, ISnmpMessage) Method
|
Walks (based on GET BULK).
Namespace: GSF.Net.Snmp.MessagingAssembly: GSF.Net (in GSF.Net.dll) Version: 2.4.194-beta
Syntaxpublic static int BulkWalk(
VersionCode version,
IPEndPoint endpoint,
OctetString community,
OctetString contextName,
ObjectIdentifier table,
IList<Variable> list,
int timeout,
int maxRepetitions,
WalkMode mode,
IPrivacyProvider privacy,
ISnmpMessage report
)
Public Shared Function BulkWalk (
version As VersionCode,
endpoint As IPEndPoint,
community As OctetString,
contextName As OctetString,
table As ObjectIdentifier,
list As IList(Of Variable),
timeout As Integer,
maxRepetitions As Integer,
mode As WalkMode,
privacy As IPrivacyProvider,
report As ISnmpMessage
) As Integer
public:
static int BulkWalk(
VersionCode version,
IPEndPoint^ endpoint,
OctetString^ community,
OctetString^ contextName,
ObjectIdentifier^ table,
IList<Variable^>^ list,
int timeout,
int maxRepetitions,
WalkMode mode,
IPrivacyProvider^ privacy,
ISnmpMessage^ report
)
GSF.Net.Snmp.Messaging.Messenger.BulkWalk = function(version, endpoint, community, contextName, table, list, timeout, maxRepetitions, mode, privacy, report);
View SourceParameters
- version VersionCode
- Protocol version.
- endpoint IPEndPoint
- Endpoint.
- community OctetString
- Community name (v2c) or user name (v3).
- contextName OctetString
- Context name.
- table ObjectIdentifier
- OID.
- list IListVariable
- A list to hold the results.
- 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.
- mode WalkMode
- Walk mode.
- privacy IPrivacyProvider
- The privacy provider.
- report ISnmpMessage
- The report.
Return Value
Int32Returns row count if the OID is a table. Otherwise this value is meaningless.
RemarksThis method supports SNMP v2c and v3.
See Also