Description (clsServer)

ms134867.note(zh-tw,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 協助