SQL Server Çalışıyor mu?

Sunucuda Sql Server’ın çalışıp çalışmadığını bulmak. https://gist.github.com/1626359

public bool SqlServerIsUp()
{
    return Process.GetProcessesByName("sqlservr").Any();
}

Tags: , ,

Leave a comment

*