Description (clsServer)

ms134867.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The Description property of an object of ClassType clsServer contains the server description.

Data Type

String

Access

Read/write

示例

The following code example prints the Description property of an object of ClassType clsServer to the Debug window.

Dim dsoServer As New DSO.Server

' Connect to the local Analysis server.
dsoServer.Connect "LocalHost"

' Print the Description property to the Debug window.
Debug.Print dsoServer.Description

请参阅

参考

clsServer

帮助和信息

获取 SQL Server 2005 帮助