Measure.Name Property

Gets the name of the Measure.

命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv (in msmgdsrv.dll)

语法

声明
Public Overrides NotOverridable ReadOnly Property Name As String
public override sealed string Name { get; }
public:
virtual property String^ Name {
    String^ get () override sealed;
}
/** @property */
public final String get_Name ()
public override final function get Name () : String

属性值

A String that contains the member name of the Measure.

备注

Because measures are essentially a specialized form of member, measures are subject to the same issues regarding member names and member keys as members.

In Microsoft SQL Server 2005 Analysis Services (SSAS), member names can be derived from a column in the dimension table other than the column that supplies member keys for a given level. Although member keys must be unique within the scope of a level, member names can be changed in a changing dimension and are not necessarily unique within a dimension or hierarchy. You can reference a member either by its member name or its unique name. Using the unique name ensures precise member identification in these cases.

The Name property returns the member name of the Measure. To get the unique name of a Measure, use the UniqueName property.

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Measure Class
Measure Members
Microsoft.AnalysisServices.AdomdServer Namespace