共用方式為


Description (clsServer)

[!附註]

  下一版的 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

請參閱

參考