Partager via


Units propriété

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

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (dans msmgdsrv.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Units As String
    Get
'Utilisation
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

Valeur de la propriété

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

Notes

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.