Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. howto search SQL Server

howto search SQL Server

Scheduled Pinned Locked Moved C#
csharpdatabasesql-serversysadminhelp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    don7cry
    wrote on last edited by
    #1

    hi all, somebody can help me to do this how to search SQL Server in my LAN with C# ??? Thanks !!! Nho'c Ti`

    A 1 Reply Last reply
    0
    • D don7cry

      hi all, somebody can help me to do this how to search SQL Server in my LAN with C# ??? Thanks !!! Nho'c Ti`

      A Offline
      A Offline
      Alex Korchemniy
      wrote on last edited by
      #2

      This is a very broad question. What exactly are you trying to do? - query a SQL server? - find all available SQL servers?

      D 1 Reply Last reply
      0
      • A Alex Korchemniy

        This is a very broad question. What exactly are you trying to do? - query a SQL server? - find all available SQL servers?

        D Offline
        D Offline
        don7cry
        wrote on last edited by
        #3

        yes, I want find all SQL Server avariable in my LAN :) Nho'c Ti`

        A 1 Reply Last reply
        0
        • D don7cry

          yes, I want find all SQL Server avariable in my LAN :) Nho'c Ti`

          A Offline
          A Offline
          Alexander Kojevnikov
          wrote on last edited by
          #4

          You can use SQL-DMO for this: Application.ListAvailableSQLServers() Alexandre Kojevnikov MCAD charter member Leuven, Belgium

          A 1 Reply Last reply
          0
          • A Alexander Kojevnikov

            You can use SQL-DMO for this: Application.ListAvailableSQLServers() Alexandre Kojevnikov MCAD charter member Leuven, Belgium

            A Offline
            A Offline
            Alexander Kojevnikov
            wrote on last edited by
            #5

            You can also do this without SQL-DMO but in C++: http://sqldev.net/misc/ListSQLSvr.htm[^] Alexandre Kojevnikov MCAD charter member Leuven, Belgium

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups