Kaspersky Security Center Automation
10.0
|
import "klakaut.idl";
Public Member Functions |
|
HRESULT | Remove ([in] VARIANT *index) |
HRESULT | Check ([in] VARIANT *index,[out, retval] VARIANT_BOOL *pbResult) |
HRESULT | Clone ([out, retval] IKlAkParams **ppResult) |
HRESULT | Add ([in] VARIANT *index,[in] VARIANT *pVal) |
Properties |
|
VARIANT |
Item ([in] VARIANT index) [get, set] |
long |
Count [get] |
KlAkObjType |
Type [get] |
Universal container.
KlAkParams is a set of named attributes. Attribute names are
case-sensitive. Supports enumerating (See JScript sample
below).
var g_oFileSystemObject; var g_oLog;
// prepare logging g_oFileSystemObject = new ActiveXObject("Scripting.FileSystemObject"); g_oLog = g_oFileSystemObject.CreateTextFile("log.txt", true);
var oParams = new ActiveXObject("klakaut.KlAkParams"); oParams.Add("blah-blah", 12); oParams.Add("blah-blah2", "Val");
var enumObj = new Enumerator(oParams);
for (;!enumObj.atEnd();enumObj.moveNext()) { oObj = enumObj.item(); g_oLog.WriteLine(typeof(oObj) + oParams.item(oObj)); };
g_oLog.Close();