This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

DeleteObject()

Deprecated in 3.0.

Please use delete() method of NetObj class instead.

This function is enabled by default, but can be disabled by setting configuration parameter "NXSL.EnableContainerFunctions".
DeleteObject(object): void

Delete object of class NetObj, Interface, or Node from the system.

Table 1. Parameters

object

NetXMS object to be deleted. Can be instance of NetObj or any inherited (e.g. Node). Reference to the object can be obtained using FindObject function.

Return

None.

DeleteObject(FindObject("Service_1")); //delete object named Service_1