Link to home
Start Free TrialLog in
Avatar of Skaugen
Skaugen

asked on

How to check if local sql server exist or any other sql server exist by passing the name?

Need VB code to check whether a sql server with certain name exist or not. Please help!
Avatar of jkaios
jkaios
Flag of Marshall Islands image

Have you tried the Microsoft SQL DMO object library.
It has dozens of exposed properties and methods including functions to
list all available SQL Servers on your network.

If you install SQL Server (just the client tools) on your machine then it will be
available in the References list.
ASKER CERTIFIED SOLUTION
Avatar of maonas
maonas

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial