Kaspersky Security Center Automation  10.0
VARIANT IKlAkParams::Item [get, set]

Accesses attribute by name.

Returns specified attribute. Error occurs if the specified attribute does not exist .

Parameters:
index attribute name
pVal attribute value
Return values:
pRetVal attribute value


See JScript sample below.

	var oSrvConnectionProps = new ActiveXObject("klakaut.KlAkParams");
	oSrvConnectionProps.Item("Address") = "localhost:13000"; //add attribute with name "Address" and value "localhost:13000"
	oSrvConnectionProps.Item("UseSSL") = true; //add attribute with name "UseSSL" and value true