Condividi tramite


Proprietà DefaultMember

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

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property DefaultMember As String
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

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.