NXSL:RenameObject

From NetXMS Wiki
Jump to navigation Jump to search
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Rename object.

Since: 1.2.3

Syntax

RenameObject(object, name);


Parameters

object NetXMS object to be renamed. Can be NXSL class NetObj, Node, or Interface. Reference to object can be obtained using FindObject function.
name New name for object.


Return Value

None.


Examples

 RenameObject(FindObject(2), "My Services");    // Rename "Infrastructure Services" object