IVsShell4.Restart(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Restarts the shell.
public:
int Restart(System::UInt32 rtRestartMode);
public:
int Restart(unsigned int rtRestartMode);
int Restart(unsigned int rtRestartMode);
public int Restart (uint rtRestartMode);
abstract member Restart : uint32 -> int
Public Function Restart (rtRestartMode As UInteger) As Integer
Parameters
- rtRestartMode
- UInt32
RESTART_Normal to restart at normal privilege level, or RESTART_Elevated to restart at elevated privilege level.
Returns
Returns S_OK if the shell restarted.