Compartir a través de


DefaultMember Propiedad

Gets the unique name of the default member for the Hierarchy.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public ReadOnly Property DefaultMember As String
    Get
'Uso
Dim instance As Hierarchy
Dim value As String

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

Valor de la propiedad

Tipo: System. . :: . .String
A String that contains the unique name of the default member for the Hierarchy.

Comentarios

Just as each dimension has a default hierarchy used to resolve queries, each hierarchy has a default member. The default member is typically used when a dimension is not explicitly specified by a tuple used in a query.