Difference between revisions of "NXSL:GetInterfaceName"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Get interface name by index. == Syntax == GetInterfaceName(''obj'', ''index''); == Parameters == {| class="wikitable" |- | ''obj'' || A node object. |- | ''ind...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Get interface name by index.
Get interface name by index.



Latest revision as of 18:13, 13 September 2022

This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Get interface name by index.


Syntax

GetInterfaceName(obj, index);


Parameters

obj A node object.
index An interface index.


Return Value

Name of the requested interface or null if not found.


Examples

GetInterfaceName($node, 2);	->	ether1
GetInterfaceName($node, 55);	->	null