Contents

Method

GetCriticality

ModuleDevice
LibraryCore
Action

Gets the user-defined criticality level for this device.

Parameters(None)
Return values

Value (integer): The (numeric) criticality value for this device (zero if undefined).

Example
@c = Device.GetCriticality();

@c = SELECT * FROM @c WHERE Value < 5;

IF (@c)
    // Perform action on devices with a criticality
    // rating lower than five.
ENDIF;
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

Available from v4.0.

Use Device.SetCriticality to set the criticality value.