KSC Open API
Kaspersky Security Center API description
SrvView::GetRecordRange ( wstring  wstrIteratorId,
int  nStart,
int  nEnd,
[out] params  pRecords 
)

Acquire subset of result-set elements by range.

Returns elements contained in the specified result-set in the diapason from position nStart to position nEnd.

Parameters:
wstrIteratorId(wstring) result-set ID, identifier of the server-side ordered collection of found data records
nStart(int) zero-based start position
nEnd(int) zero-based finish position. 0 <= (nEnd - nStart) < 65536
[out]pRecords(params) container that has needed elements in the array with name "KLCSP_ITERATOR_ARRAY". It is possible that some field(s) for record(s) could be skipped if the field value is NULL

not supported if "NEED_ONLY_COUNT" option is used in ResetIterator

if the "CLUSTER_FIELDS" option was specified in ResetIterator then additional fields will be returned for each record

  • "CLUSTER_ID" (wstring) - String identifier that is the same for all records from one cluster
  • "CLUSTER_FIRST_TIME" (paramDateTime) - Minimum value of the "CLUSTER_TIME" for records from one cluster
  • "CLUSTER_LAST_TIME" (paramDateTime) - Maximum value of the "CLUSTER_TIME" for records from one cluster
See also:
Sample. Enumerating users by using SrvView