Last updated
Last updated
When the MaxDaysOffline period is exceeded, QLM executes the action specified in the property OfflinePeriodExceededAction.
If your application is developed in .NET, one of the possible actions is to fire an event. To fire an event when MaxDaysOffline is reached, you must create an event handler and register it as follows:
By default, while the application is running, QLM will try to connect to the server once per day. For testing purposes, you will want to accelerate this process. Add the function below to your application and call it after calling RegisterEvent(). Remember to remove the call to MaxDaysOfflineTest before shipping your product.