RE: How to find available SQL Server on local network



Doesn't it show instances installed on local machine?

"Jakob Christensen" wrote:

> You can do this using SQL-DMO. Add a reference to sqldmo.dll and sqldmo.rll
> to use SQL-DMO. The Application object of SQL-DMO has a ListAvailableServers
> method which will give you all SQL Servers on the network (if you are running
> Windows 2000 and up).
>
> You can also connect to an SQL Server instance and enumerate all objects for
> that server (using the SqlServer object).
>
> Links:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;287737
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sqldmo/dmoref_con03_8q44.asp
>
> Of course, the code will be a bit different in VB.net.
>
> HTH, Jakob.
>
>
>
> "Job Lot" wrote:
>
> > Using VB.NET how can I find all available SQL Server on a local network and
> > list all the databases in each server.
> >
> > Thanks
.



Relevant Pages

  • RE: How to find available SQL Server on local network
    ... QueryInterface for interface SQLDMO.NameList failed??? ... > You can do this using SQL-DMO. ... > You can also connect to an SQL Server instance and enumerate all objects for ... >> Using VB.NET how can I find all available SQL Server on a local network and ...
    (microsoft.public.dotnet.general)
  • RE: How to find available SQL Server on local network
    ... You can do this using SQL-DMO. ... The Application object of SQL-DMO has a ListAvailableServers ... You can also connect to an SQL Server instance and enumerate all objects for ... > Using VB.NET how can I find all available SQL Server on a local network and ...
    (microsoft.public.dotnet.general)
  • CAL question
    ... I have a CAL to access a SQL Server that is installed on a local network. ... Can I use this CAL to install the client tools of SQL Server (viz Enterprise ... Query Analyzer) on my local machine to access my MSDE ?? ...
    (microsoft.public.sqlserver.setup)
  • CAL question
    ... I have a CAL to access a SQL Server that is installed on a local network. ... Can I use this CAL to install the client tools of SQL Server (viz Enterprise ... Query Analyzer) on my local machine to access my MSDE ?? ...
    (microsoft.public.sqlserver.server)
  • Re: backupRestore progress bar
    ... SQL-DMO is an acronym for SQL Distributed Management Object and is a full ... object model to manage and administer SQL Server.. ...
    (microsoft.public.sqlserver.msde)