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.
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