IVsShell4::Restart Method (UInt32)

 

Restarts the shell.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int Restart(
	unsigned int rtRestartMode
)

Parameters

rtRestartMode
Type: System::UInt32

RESTART_Normal to restart at normal privilege level, or RESTART_Elevated to restart at elevated privilege level.

Return Value

Type: System::Int32

Returns S_OK if the shell restarted.

Return to top
Show: