RE: Can't access Sql Server Express 2005
- From: weilu@xxxxxxxxxxxxxxxxxxxx (Wei Lu [MSFT])
- Date: Tue, 02 Jan 2007 03:03:05 GMT
Hello Dave,
I assume you are using the SqlDataSourceEnumerator class to enumerate the
server.
The GetDataSource method for the SqlDataSourceEnumerator class will return
a datatable.
The table returned from the method call contains the following columns, all
of which contain string values:
Column Description :
ServerName
Name of the server.
InstanceName
Name of the server instance. Blank if the server is running as the default
instance.
IsClustered
Indicates whether the server is part of a cluster.
Version
Version of the server (8.00.x for SQL Server 2000, and 9.00.x for SQL
Server 2005).
You need to check the InstanceName in your application to decide which
instance you need to connect.
Retrieving an Enumerator Instance
http://msdn2.microsoft.com/en-us/a6t1z9x2.aspx
Hope this will be helpful.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: Can't access Sql Server Express 2005
- From: David Thielen
- RE: Can't access Sql Server Express 2005
- References:
- RE: Can't access Sql Server Express 2005
- From: David Thielen
- RE: Can't access Sql Server Express 2005
- Prev by Date: Re: Cant start sql server 2005 express
- Next by Date: RE: Can't access Sql Server Express 2005
- Previous by thread: RE: Can't access Sql Server Express 2005
- Next by thread: RE: Can't access Sql Server Express 2005
- Index(es):
Relevant Pages
|