Sitefinity CMS API exposes several overloaded methods, which you can use to trigger a restart of your Sitefinity CMS application. To do a restart, you can use the following code:
"Restart invoked through the Sitefinity CMS 7.3 API"
In the code above you initiate an application restart by calling the RestartApplication() method of the SystemManager class. You can specify the restart reason, the type of restart you want to perform, and whether or not to send the restart application system message.
Using SystemRestartFlags enumeration, you specify the type of restart. It has the following values:
To use the SystemManager class you must include the following namespace in your code:
Back To Top