How can I subscribe to DatabaseDeleteBeforeSetRetentionTime event?

Using the SystemStatusClientConsole sample project, I found the DatabaseDeleteBeforeSetRetentionTime event (from the list of events that the application prints out to console). How can I subscribe to this event .. I noticed the associated class is: VideoOS.Platform.SDK.StatusClient.BaseEventMessageId.DatabaseDeleteBeforeSetRetentionTime, which API do I need to subscribe? Also, is there a way to query the same data associated with this event - i.e. can I do an on-demand “pull” for Recorder Retention Time?

Hi.

Regarding to subscribe to NewEventsIndication, can you please see the StatusViewer sample?

https://doc.developer.milestonesys.com/html/index.html?base=samples/statusviewer_sample.html&tree=tree_search.html?search=status+viewer

To see storage retention as is setup, please explore the Config API Client sample.

https://doc.developer.milestonesys.com/html/index.html?base=samples/configapiclient.html&tree=tree_search.html?search=config+api+client