Kaspersky Security Center Automation  10.0
HRESULT IKlAkLicHst::AcquireKeyHosts ( [in] BSTR  bstrSerial,
[in] IKlAkCollection pFields2Return,
[in] IKlAkCollection pSortFields,
[out, retval] IKlAkChunkAccessor **  ppChunkAccessor 
)

Acquire list of hosts that use specified key.

Returns list of hosts that use specified key

Parameters:
bstrSerial license serial name
pFields2Return array of host-specific license attributes to return See List of host-specific license attributes for attribute names
pSortFields array of containers each of them containing two attributes:
  • "Name" of type String, name of attribute used for sorting
  • "Asc" of type Boolean, ascending if true descending otherwise
Return values:
ppChunkAccessor IKlAkChunkAccessor server-side collection of found hosts