다음을 통해 공유


IVsUIShell3.SuppressRestart(Boolean) Method

Definition

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);  

Applies to