Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 836 Bytes

deleteobject.adoc

File metadata and controls

37 lines (29 loc) · 836 Bytes

DeleteObject()

Important

Deprecated in 3.0.

Please use delete() method of NetObj class instead.

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

Delete object of class [class-netobj], [class-interface], or [class-node] from the system.

Table 1. Parameters

object

NetXMS object to be deleted. Can be instance of [class-netobj] or any inherited (e.g. [class-node]). Reference to the object can be obtained using [func-findobject] function.

Return

None.

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