Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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
int SuppressRestart(
bool Suppress
)
int SuppressRestart(
[InAttribute] bool Suppress
)
abstract SuppressRestart :
Suppress:bool -> int
function SuppressRestart(
Suppress : boolean
) : int
Parameters
Suppress
Type: Boolean[in] True to suppress display of the dialog box.
Return Value
Type: 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.