未显示SQL Server 2008的默认实例 [英] Default instance of SQL Server 2008 not shown

查看:271
本文介绍了未显示SQL Server 2008的默认实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我运行以下代码来安装所有版本的SQL Server并安装实例。



Hi,
I am running following code to get all the versions of SQL Servers installed and the instances installed.

Dim sqldatasourceenumerator1 As SqlDataSourceEnumerator = SqlDataSourceEnumerator.Instance
        datatable1 = sqldatasourceenumerator1.GetDataSources()





代码工作正常。我安装了SQL Server Express 2005和2008。

它显示的实例





The code works fine. I have both SQL Server Express 2005 and 2008 installed.
The instances it shows

    Server Name:    Instance      Is Clustered         Version
    SUPERCOMPUTER   SQLEXPRESS  No            9.00.3042.00
SUPERCOMPUTER   CBE         No            9.00.5000.00
SUPERCOMPUTER   SQL2008TEST No            10.50.1600.1





我想知道为什么它没有显示SQL Server 2008的默认实例,就像它在2005年显示的那样(SQLEXPRESS)



谢谢



I wonder why it does not show the default instance of SQL Server 2008, like it shows for 2005 (SQLEXPRESS)

Thanks

推荐答案





当然因为没有安装带有默认实例的SQL 2008.

安装SQL Server实例并不意味着你有一个默认的实例。



希望这会有所帮助。
Hi,

Surely because there is no installation of SQL 2008 with default instance.
Installing a SQL Server instance doesn''t mean you wil have a default one.

Hope this helps.


你的MS SQL Server 2008的实例是: SQL2008TEST

Your instance of MS SQL Server 2008 is: SQL2008TEST.
    Server Name:    Instance      Is Clustered         Version
SUPERCOMPUTER   SQL2008TEST No            10.50.1600.1





那么,你的意思是MS SQL Server 2008的默认实例?



So, what you mean default instance of MS SQL Server 2008?

这篇关于未显示SQL Server 2008的默认实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆