Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Enable and disable showing the User Account Control (UAC) restart dialog box.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Function SuppressRestart ( _
Suppress As Boolean _
) As Integer
'Usage
Dim instance As IVsUIShell3
Dim Suppress As Boolean
Dim returnValue As Integer
returnValue = instance.SuppressRestart(Suppress)
int SuppressRestart(
bool Suppress
)
int SuppressRestart(
[InAttribute] bool Suppress
)
abstract SuppressRestart :
Suppress:bool -> int
function SuppressRestart(
Suppress : boolean
) : int
Parameters
- Suppress
Type: System.Boolean
[in] True to suppress display of the dialog box.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell90.idl:
HRESULT SuppressRestart([in] VARIANT_BOOL Suppress);
.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.