IVsUIShell3.SuppressRestart(Boolean) 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.
Enable and disable showing the User Account Control (UAC) restart dialog box.
public:
int SuppressRestart(bool Suppress);
public:
int SuppressRestart(bool Suppress);
int SuppressRestart(bool Suppress);
public int SuppressRestart (bool Suppress);
abstract member SuppressRestart : bool -> int
Public Function SuppressRestart (Suppress As Boolean) As Integer
Parameters
- Suppress
- Boolean
[in] True
to suppress display of the dialog box.
Returns
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);