Kaspersky Security Center Automation  10.0
HRESULT IKlAkStatistics::AcquireStatisticsData ( [in] IKlAkCollection pQueries,
[out, retval] IKlAkCollection **  ppResults 
)

Obtain statistics data.

Returns statistics data from the AK server

Parameters:
pQueries Collection of IKlAkParams objects queries. Each IKlAkParams container must have input attributes according to the list of List of statistics query attributes)
Return values:
ppResults Collection of IKlAkParams containers. Each IKlAkParams container has all specified input attributes and resulting dataset in the DSHT_DATA attribute of type IKlAkCollection ( See List of statistics result dataset)


See also How to see contents of the IKlAkParams container.


See JScript call sample below.

	...
		var oQuery = new ActiveXObject("klakaut.KlAkParams");
		oQuery.Add("KLRPT_DSH_TYPE", 11);
		oQuery.Add("KLPPT_StatPeriodInSec", 3600 * 11);
		oQuery.Add("id", -1);
		oQuery.Add("bIncludeVS", false);
		var oQueries = new ActiveXObject("klakaut.KlAkCollection");
		oQueries.SetSize(1);
		oQueries.SetAt(0, oQuery);
		var oResults = oStat.AcquireStatisticsData(oQueries);
	...