Compartir a través de


Member.Name Property

Gets the name of the Member.

Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintaxis

'Declaración
Public ReadOnly Property Name As String
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
/** @property */
public String get_Name ()
public function get Name () : String

Valor de propiedad

A String that contains the member name of the Member.

Notas

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 a level, member names can be changed in a changing dimension, and they are not necessarily unique within a dimension or hierarchy. You can reference a member by either its member name or its member key. Using the member key ensures precise member identification in these cases. The ampersand (&) character is used in Multidimensional Expressions (MDX) to differentiate a member key from a member name, as shown in the following example:

[Time].[Time].[2nd half].&[Q4]

In this case, the member key of the fourth quarter member, Q4, is used.

The Name property returns the member name of the Member. To get the member key of a Member, use the UniqueName property.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Member Class
Member Members
Microsoft.AnalysisServices.AdomdClient Namespace