Condividi tramite


Proprietà Units

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

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

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

Valore proprietà

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

Osservazioni

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.