Showing posts with label framework. Show all posts
Showing posts with label framework. Show all posts

Wednesday, March 21, 2012

Query for available servers

Is there anything built into the .Net framework to query which SQL servers are available from the current pc, or do I have to resort to using windows APIs like in VB6?

Thanks,

AndrewThe post below discusses one way to do it.
view post 332996|||Thanks, that post uses a com object, so I may as well take my vb6 code which calls the API and wrap them directly in .net code. At least then I won't have to depend on registering a control. I will post the code when I am done.

Andrew