RestartInstance Method
Restarts the Instance specified by InstanceId.
Syntax
int RestartInstance(char* lpszInstanceId);
Remarks
Restarting an instance will perform a complete system restart on the specified InstanceId.
For diagnostic information on the restart of an instance, refer to GetConsoleOutput.