Hello! I'm writing application, that will check databases states on a lot of servers. I'm using VS2005 and .NET 2.0. At this moment I have code, that is trying to connect to every database in my configuration file. I'm creating new sqlconnection with specified database name, getting answer about state (awailable - not available) and trying to connect to next database. How it should looks professionally? :) I know, that I can use threads for every server and check that all in one time. But I would try to do server by server. Thanks Leszek
How should it look professionally? I always prefer them to wear a nice shade of lipstick and some lacy underwear. What the heck are you really trying to ask about? "Leszek Gruszka" wrote in message news:9E40C456-4613-4065-8066-9C12496BA4D3@microsoft.com... > Hello! > > I'm writing application, that will check databases states on a lot of > servers. I'm using VS2005 and .NET 2.0. > At this moment I have code, that is trying to connect to every database in > my configuration file. I'm creating new sqlconnection with specified > database name, getting answer about state (awailable - not available) and > trying to connect to next database. > > How it should looks professionally? :) > I know, that I can use threads for every server and check that all in one > time. But I would try to do server by server. > > Thanks > Leszek