Kaspersky Security Center Automation  10.0
HRESULT IKlAkParams::Add ( [in] VARIANT *  index,
[in] VARIANT *  pVal 

Put new attribute to the container.

Pusts new attribute into the container. If the attribute with the name specified already exists it will be replaced.

index name of new attribute
pVal value of new attribute

See JScript sample below.

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