473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

List of SQL Servers Available in a network

Hi all
i need to do a search to all my network to find the SQL servers active, but
i don´t want to use SQLDMO. is there another way to do it ???

THKS

JSB
Jul 21 '05 #1
6 1600
mdb
"João Santa Bárbara" <jo****@i24portugal.com> wrote in
news:Oe**************@TK2MSFTNGP15.phx.gbl:
i need to do a search to all my network to find the SQL servers
active, but i donït want to use SQLDMO. is there another way to do it

http://www.codeproject.com/cs/databa...Enumerator.asp
Jul 21 '05 #2

"mdb" <m_b_r_a_y@c_t_i_u_s_a__d0t__com> wrote in message
news:Xn****************************@207.46.248.16. ..
"João Santa Bárbara" <jo****@i24portugal.com> wrote in
news:Oe**************@TK2MSFTNGP15.phx.gbl:
i need to do a search to all my network to find the SQL servers
active, but i donït want to use SQLDMO. is there another way to do it

http://www.codeproject.com/cs/databa...Enumerator.asp


Waw .... removing SQLDMO dependency in favor of ODBC dependency!.

Willy.
Jul 21 '05 #3
mdb
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in news:e#8j
$w*********@TK2MSFTNGP12.phx.gbl:
http://www.codeproject.com/cs/databa...Enumerator.asp


Waw .... removing SQLDMO dependency in favor of ODBC dependency!.


:) Haha

What do you want?? Its also dependent on having a network connected! :)
--
-mdb
Jul 21 '05 #4
mdb
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in news:e#8j
$w*********@TK2MSFTNGP12.phx.gbl:
http://www.codeproject.com/cs/databa...Enumerator.asp


Waw .... removing SQLDMO dependency in favor of ODBC dependency!.


:) Haha

What do you want?? Its also dependent on having a network connected! :)
--
-mdb
Jul 21 '05 #5

"mdb" <m_b_r_a_y@c_t_i_u_s_a__d0t__com> wrote in message
news:Xn****************************@207.46.248.16. ..
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in news:e#8j
$w*********@TK2MSFTNGP12.phx.gbl:
http://www.codeproject.com/cs/databa...Enumerator.asp


Waw .... removing SQLDMO dependency in favor of ODBC dependency!.


:) Haha

What do you want?? Its also dependent on having a network connected! :)
--
-mdb


The problem with this is that OP doesn't mention why he doesn't want to use
SQLDMO, now using ODBC he needs to PInvoke 4 API's, while a simple PInvoke
of a single Win32 API "NetServerEnum" could be used to get all SQL servers
in the network without any dependency at all.
Willy.
Jul 21 '05 #6
mdb
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in
news:uV**************@TK2MSFTNGP10.phx.gbl:
The problem with this is that OP doesn't mention why he doesn't want
to use SQLDMO, now using ODBC he needs to PInvoke 4 API's, while a
simple PInvoke of a single Win32 API "NetServerEnum" could be used to
get all SQL servers in the network without any dependency at all.


Good information... I provided an answer - and the only one I knew at the
time - never said it was the best answer! :)

--
-mdb
Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sean W. | last post by:
I want to create a list of MS servers using VB.NET. Where do I start? Also, one I have the list I want to be able to check the diskspace available on each server. This is just for daily...
5
by: Oliver Braun | last post by:
I know this is a very common issue and I found a lot of hints on this topic in www but I did not find a very good solution for this task. Most of the solutions use SQLDMO to list all sql servers...
1
by: M | last post by:
In .NET (pref. c#) how does one get a list of all available SQL Servers, databases and tables. I need to allow the connection to a database, etc, on the fly. kind of like what happens in SQL Query...
1
by: Piotrek Stachowicz | last post by:
Hi, I'd like to display list of all MS SQL servers which are available on the network (I write application which uses database located on one of the machines in my LAN). Has anyone got any idea...
1
by: Alexander Wehrli | last post by:
Hi, How can I get a list of all Oracle Servers in my network? It isn't possible by calling NetServerEnum, the matching ServerType does not exist. Any idea? Regards Alexander
5
by: João Santa Bárbara | last post by:
Hi all i need to do a search to all my network to find the SQL servers active, but i don´t want to use SQLDMO. is there another way to do it ??? THKS JSB
1
by: Roger | last post by:
I would like to get a list of machines on my network (Workstations and/or Servers). Is there a way to do this in VB.Net? Thanks, Rog
0
by: Mike Cox | last post by:
Andy M wrote: > ALERT > > There is a person by the name of Mike Cox who's trying > to turn this mailing list into a Big-8 newsgroup. No, I'm trying to get teh postgresql groups which are...
16
by: Mike Cox | last post by:
He wants to be in the big 8. He would like to be under the comp.databases.* domain and will not to move it to something like postgresql.*. So he seems to agree with what was my original...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.