共用方式為


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.