Udostępnij za pośrednictwem


IVsShell3.RestartElevated Method

Definition

Restart the application, asking for credentials from the user if not running as administrator, or start as admin if the user has admin privileges.

public:
 int RestartElevated();
public:
 int RestartElevated();
int RestartElevated();
public int RestartElevated ();
abstract member RestartElevated : unit -> int
Public Function RestartElevated () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell90.idl:

HRESULT RestartElevated();  

Applies to