kenyon21

I want to know how many values I would get before actually downloading the data

Discussion created by kenyon21 on May 20, 2013
Latest reply on May 21, 2013 by RJKSolutions

I'm getting an error that I've exceeded the max number of events allowed (only when I go for a large chunk of time, like 3 years).  I'd like to query for how much data would be returned by the user desired window of time and adjust my query in the code to grab the data the user wants in chunks rather than all at once.  How do I find out how much data is in the specific window of time?

 

Here is the C# code I'm using to grab data:

 

var rz = selectedAttribute.GetValues(myTimeRange, 0, uom);

 

Here is my specific error message when I go for a large window of time:

 

Failed to retrieve events from server.  [-11091] Event collection exceeded the maximum allowed.

 

Thanks,

 

=Steve=

Outcomes