Measure.Units Property

Gets a description of the unit of measure for the Measure.

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

语法

声明
Public ReadOnly Property Units As String
public string Units { get; }
public:
property String^ Units {
    String^ get ();
}
/** @property */
public String get_Units ()
public function get Units () : String

属性值

A String that contains a description of the unit of measure for the Measure.

备注

The Units property contains a string representation of the unit of measure for the Measure, such as "pounds" or "boxes shipped," and is typically used for display and reporting purposes. If no such string representation is provided for the measure, this property contains an empty string ("").

The value of this property is identical to the value of the MEASURE_UNITS column of the MEASURES schema rowset for the specified measure.

线程安全

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