Re: How can I scan for named instances of SQL?



Byron
Do you use SQLDMO objects library?

The OLE DB Provider for SQL Server 2000 returns instance names using
ISourcesRowset::GetSourcesRowset

SQL-DMO applications can enumerate instances using the SQLServer2
object. The SQLServer2 object also presents information such as the names of
the SQL Server and SQL Server Agent services for the instance, or whether
the instance is running on a single computer or a failover cluster. For more
information, see SQLServer2 Object





"Byron" <Byron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:74EC9B24-45FE-4A8D-B0CF-E5DB412C3E70@xxxxxxxxxxxxxxxx
I need to periodically scan our network for SQL installations and sometimes
affect all servers to do things like change the sa password. Since the
servers are far-flung without technical people on-site I can't rely on
anyone
there to keep me up to date. I wrote a little C# app that can locate all
the
default instances, but it can't discover named instances.

Ideally I'd like to add the capability to discover named instances to the
samer application, but any other discovery method would be appreciated.


.



Relevant Pages

  • New SQL Server registartion problem
    ... I have 2 systems with operating system 2003 on both of them. ... I have created a SQL Server group on one machine on which SQLServer1 ... instance is created.Now on this machine i want to register SQLServer2 ... through new SQL Server registration wizard (SQLServer2 is instance ...
    (microsoft.public.sqlserver.server)
  • Re: New SQL Server registartion problem
    ... you are not able to connect to the SQL Server machine. ... instance is created.Now on this machine i want to register SQLServer2 ... through new SQL Server registration wizard (SQLServer2 is instance ...
    (microsoft.public.sqlserver.server)
  • Re: How can I scan for named instances of SQL?
    ... Have you checked out SQL Scan which is now part of the SQL Server 2000 ... The OLE DB Provider for SQL Server 2000 returns instance names using ... The SQLServer2 object also presents information such as the names ... Ideally I'd like to add the capability to discover named instances to the ...
    (microsoft.public.sqlserver.security)