Share via


Measure.Units Property

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

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public ReadOnly Property Units As String 
    Get
'Usage
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

Property Value

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

Remarks

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.

See Also

Reference

Measure Class

Microsoft.AnalysisServices.AdomdServer Namespace