Kaspersky Security Center Automation  10.0
HRESULT IKlAkHosts::RemoveHost ( [in] BSTR  strHostName )

Delete host record.

Removes host record

Parameters:
strHostName host name (unique server-generated string)


See JScript call sample below.

	...
	var oHosts = new ActiveXObject("klakaut.KlAkHosts");
	oHosts.AdmServer = ...
	...
	//name of the host to delete
	var strHostName = ...
	...
	//Delete host record
	oHosts.RemoveHost(strHostName);