I have installed 2 servers for Microsoft SQL 2008. The first one is MSSQLSERVER and second one is SQL2008. When I tried to stop the first one it stopped but the second one not the VS told me that this service not found
ServiceController svc =
new ServiceController("SQL2008", Process.GetCurrentProcess().MachineName);
svc.Stop()
So, how can I stop the second one also ?