Method

GetLocation

ModuleDevice
LibraryCore
Action


Gets the user-defined location for this device.


Parameters(None)
Return values

Location (string): The location value for this device.

Example


@loc = Device.GetLocation();
@loc = SELECT * FROM @loc WHERE Location = "New York";
IF (@loc)
    // Perform action on devices in NY
ENDIF;


Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

Available from v5.0.

Use Device.SetLocation to set the location value.