List of Server Names

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JB

    List of Server Names

    I'm trying to find out how to create a drop down that lists the Server Names
    on the network. Much like Sql Server does when choosing some kind of
    connection, it seems to autodetect them, so I'm assuming I can replicate
    this. Any body direct me on how to do that?

    Jason


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: List of Server Names

    JB,

    If you just want the list of SQL servers, then you can use the SQLDMO
    object through COM interop. There is a method on it which will get you a
    list of SQL servers on the network.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - nicholas.paldin o@exisconsultin g.com


    "JB" <jasonb@bellevu e.com> wrote in message
    news:My_7b.271$ 8g2.37@news1.ce ntral.cox.net.. .[color=blue]
    > I'm trying to find out how to create a drop down that lists the Server[/color]
    Names[color=blue]
    > on the network. Much like Sql Server does when choosing some kind of
    > connection, it seems to autodetect them, so I'm assuming I can replicate
    > this. Any body direct me on how to do that?
    >
    > Jason
    >
    >[/color]


    Comment

    • vince

      #3
      List of Server Names

      try this codeproject link to a server enumerator..


      target=serverco mbobox

      enjoy.
      [color=blue]
      >-----Original Message-----
      >I'm trying to find out how to create a drop down that[/color]
      lists the Server Names[color=blue]
      >on the network. Much like Sql Server does when choosing[/color]
      some kind of[color=blue]
      >connection, it seems to autodetect them, so I'm assuming[/color]
      I can replicate[color=blue]
      >this. Any body direct me on how to do that?
      >
      >Jason
      >
      >
      >.
      >[/color]

      Comment

      Working...