Partager via


Measure.Units Property

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

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

Syntaxe

'Déclaration
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

Valeur de propriété

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Measure Class
Measure Members
Microsoft.AnalysisServices.AdomdServer Namespace