Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Restarts the shell.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function Restart ( _
rtRestartMode As UInteger _
) As Integer
int Restart(
uint rtRestartMode
)
int Restart(
[InAttribute] unsigned int rtRestartMode
)
abstract Restart :
rtRestartMode:uint32 -> int
function Restart(
rtRestartMode : uint
) : int
Parameters
rtRestartMode
Type: System.UInt32RESTART_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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.