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
public string Units { get; }
public:
property String^ Units {
    String^ get ();
}
/** @property */
public String get_Units ()
public function get Units () : String

Property Value

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Measure Class
Measure Members
Microsoft.AnalysisServices.AdomdServer Namespace