IVsShell3.RestartElevated 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.
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();