Accessing %Monitor.System.License properties
I am writing a Python tools I want to access the %Monitor.System.License properties:
- AvailableDist
- AvailableLocal
- MaxUsedDist
- MaxUsedLocal
- CurrentUsedDist
- CurrentUsedLocal
Initially I want to develop Objectscript to verify access to the properties. But I can not figure the proper syntax.
I first attempted:
set ans = ##class(%Monitor.System.License).AvailableDist
which failed.
I tried another approach:
set ans = ##CLASS(%Monitor.System.License).%GetParameter("AvailableLocal")
which also failed. There is open method so it appears access options are limited. I am missing something about this class. I have not encountered such issues accessing other classes. Any help in either objectscript or Python form would be helpful.
Product version: Caché 2018.1