Re: Get all sql servers on network from dot net app.. sqldmo or reflection

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Benny Tordrup (nospam)
Date: 06/24/04

  • Next message: Martin: "Re: Get all sql servers on network from dot net app.. sqldmo or reflection"
    Date: Thu, 24 Jun 2004 10:12:21 +0200
    
    

    Hi,

    At home, I have code to retrieve a list of SQL Servers (including named
    instances of SQL 2000). This code uses the libraries from MDAC, which are
    installed with newer versions of Windows or can be downloaded at Microsoft.

    I'll find the code and post it later today.

    Best regards,

    Benny Tordrup

    "Martin" <martin@hotmail.com> skrev i en meddelelse
    news:O42LWabWEHA.644@tk2msftngp13.phx.gbl...
    > Hi,
    >
    > I am writing a desktop .net app (vb.net) and part of that app is to
    display
    > a dropdown list of all sql servers on the network.
    >
    > I have managed to accomplish that using the sql dmo library, however I am
    > aware that the sql dmo library is being depreciated by microsoft,
    >
    > so my question is would it be better to get a list of all servers of the
    > network using the reflection namespace and if so can anybody point me in
    the
    > direction of how to do this, or can I get a list by querying one of the
    > system databases from within sql server itself.
    >
    > any help is appreciated.
    >
    > cheers
    >
    > martin.
    >
    >
    >


  • Next message: Martin: "Re: Get all sql servers on network from dot net app.. sqldmo or reflection"

    Relevant Pages

    • List SQL servers in a network
      ... Most of the solutions use SQLDMO to list all sql servers in the network like ... public static string[] GetAvailableSQLServers ... - this does not work with Windows XP (see SQLDMO documentation: ...
      (microsoft.public.dotnet.general)
    • Remote connection errors
      ... When trying to connect to 2 of my SQL Servers I am getting General Network ... SQLState: 08S01 Native Error: 11 ...
      (microsoft.public.sqlserver.connect)
    • System Area Network Beginners Questions
      ... Network and linking several SQL servers using the VIA protocol. ...
      (microsoft.public.sqlserver.connect)
    • Re: sql servers part of workgroup
      ... I don't think automatic log shipping is possible without a domain. ... As for backups to network drives then make sure the network share has ... > I have a client that has a couple of SQL Servers that are> part of a workgroup. ... > Now they want to do some activity such as log shipping,> network backups, etc.. ...
      (microsoft.public.sqlserver.server)
    • Need help On NTBACKUP
      ... Happy X-mas ans holidays ... i have 3 sql servers in my network. ...
      (microsoft.public.windows.server.general)