Thanks guys! I could not find helper links to these methods in the ADO .NET Managed Provider class Intersystems.Data.CacheTypes.CacheStatus so I have to proxy to these Intersystems methods via my own Helper class
{
ClassMethod GetOneStatusText(pStatus As %Status) As %String
{
Quit $system.Status.GetOneStatusText(pStatus)
}
}
This is because by default, when you have an error status, CacheStatus.Message property contains a string formatted as Error #5001: CustomerID not valid
There's one odd thing in the documentation (Cache 2018.1.3) under %SYSTEM.Status and that is the method signatures for some of these methods
- Log in to post comments