Skip to main content

1E 8.1 (on-premises)

Device.SetLocation

Method

SetLocation

Module

Device

Library

Core

Action

Sets the user-defined location for this device.

Parameters

Location(string): The location value to assign to this device (up to 127 characters).

Note

An empty value is okay, but the parameter itself is mandatory.

Return values

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

Example

 Device.SetLocation(Location: "New York");

Platforms

  • Windows

  • Linux

  • MacOS

Notes

Use Device.GetLocation to retrieve the assigned location value.

Changes to location are automatically sent back to the Tachyon Server so that the assigned value can be used as part of a coverage expression.