共用方式為


Name (Level Interface)

[!附註]

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

The Name property of the Level interface contains the name of the level object.

Applies To:clsAggregationLevel, clsCubeLevel, clsDatabaseLevel, clsPartitionLevel

Data Type

String (maximum length of 50 characters)

Access

Read/write (read-only after the object has been named)

範例

Use the following code to return a level object name:

Dim sName As String
sName = LevelObject.Name

請參閱

參考