PowerSNMP for .NET CF
Repetitions Property
See Also  Send comments on this topic.
Dart.Snmp Namespace > GetBulkMessage Class : Repetitions Property




Gets or sets the maximum number of variables that should be returned in ResponseMessage for each variable in MessageBase.Variables that follow the first "non-repeating" variables.

Syntax

Visual Basic (Declaration) 
Public Property Repetitions As Integer
Visual Basic (Usage)Copy Code
Dim instance As GetBulkMessage
Dim value As Integer
 
instance.Repetitions = value
 
value = instance.Repetitions
C# 
public int Repetitions {get; set;}
Managed Extensions for C++ 
public: __property int get_Repetitions();
public: __property void set_Repetitions( 
   int value
);
C++/CLI 
public:
property int Repetitions {
   int get();
   void set (    int value);
}

Property Value

The maximum number of row values requested for each variable specified.

Remarks

A positive value is used to limit the size of the ResponseMessage generated by the agent.

The application will typically set NonRepeaters to 0 and Repetitions to the maximum number of rows expected in the table of interest. Then variables are added to MessageBase.Variables that represent the OID for each table column in the table. When the returned MessageBase.Variables collection is enumerated, each IID should be parsed to determine which value belongs to each row in each table column. The IID for each value is the OID of the table column with an appended "indexer" into the row. Repeating variables are returned as consecutive rows. For example, if 5 column "repeaters" are provided as OID variables, then the first row is returned in the first 5 variables in the response, the second row is returned in the second 5 variables, and so on.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.