Units 属性

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

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public ReadOnly Property Units As String
    Get
用法
Dim instance As Measure
Dim value As String

value = instance.Units
public string Units { get; }
public:
property String^ Units {
    String^ get ();
}
member Units : string
function get Units () : String

属性值

类型:System. . :: . .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.