Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Device.GetCriticality


Method

GetCriticality

ModuleDevice
LibraryCore
Action


Excerpt
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


Code Block
languageperl
@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.