PowerSNMP for .NET
Repetitions Property




Gets or sets the maximum number of variables that should be returned in the ResponseMessage for each variable in MessageBase.Variables that follow the first "non-repeating" variables.
Syntax
Public Property Repetitions As Integer
Dim instance As GetBulkMessage
Dim value As Integer
 
instance.Repetitions = value
 
value = instance.Repetitions
public int Repetitions {get; set;}
public: __property int get_Repetitions();
public: __property void set_Repetitions( 
   int value
);
public:
property int Repetitions {
   int get();
   void set (    int value);
}

Property Value

The maximum number of variables requested for each variable specified.
Remarks

Used to limit the size of the ResponseMessage generated by the agent.

When used to retrieve a table, 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.

See Also

Reference

GetBulkMessage Class
GetBulkMessage Members


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