共用方式為


Version (clsServer)

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

The Version property of an object of ClassType clsServer returns a string representing the version information of the Analysis server to which the object is connected.

Data Type

String

Access

Read-only

備註

The expected return values are listed in the following table.

Version

Value

Microsoft® SQL Server™ 7.0 OLAP Services

7.0

Microsoft® SQL Server™ 2000 Analysis Services

8.0

Microsoft® SQL Server™ 2005 Analysis Services

9.0

請參閱

參考