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.
RenameObject()
RenameObject(object, name): bool
Rename object.
object |
NetXMS object to be renamed. Can be NXSL class NetObj or any inherited for it. Reference to object can be obtained using FindObject function. |
name |
New name for object. |
Return
true if the object was renamed, false if the script lacks modify access to the object.
RenameObject(FindObject(2), "My Services"); // Rename "Infrastructure Services" object