Bitrix Site Manager

CAgent::Delete

CAgent::Delete(
 int id 
)

The method Delete deletes an agent function from the agent registrar table by its ID.

Parameters

ParameterDescription
id The ID of an agent to be deleted.

See Also

Example



<?
if (CAgent::Delete(34)) echo "Agent #34 has been successfully deleted.";
?>