Partager via


Propriété Measure.Name

Gets the name of the Measure.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Name As String 
    Get
'Utilisation
Dim instance As Measure 
Dim value As String 

value = instance.Name
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
member Name : string
function get Name () : String

Valeur de propriété

Type : System.String
A String that contains the member name of the Measure.

Notes

Because measures are essentially a specialized form of member, measures are subject to the same issues regarding member names and member keys as members.

In Microsoft SQL Server 2005 Analysis Services (SSAS), member names can be derived from a column in the dimension table other than the column that supplies member keys for a given level. Although member keys must be unique within the scope of a level, member names can be changed in a changing dimension and are not necessarily unique within a dimension or hierarchy. You can reference a member either by its member name or its unique name. Using the unique name ensures precise member identification in these cases.

The Name property returns the member name of the Measure. To get the unique name of a Measure, use the UniqueName property.

Voir aussi

Référence

Measure Classe

Espace de noms Microsoft.AnalysisServices.AdomdClient