Compartilhar via


Propriedade do RDL DefaultMember

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
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 da propriedade

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

Comentários

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.