Hierarchy.DefaultMember Property
Gets the unique name of the default member for the Hierarchy.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public ReadOnly Property DefaultMember As String
Get
'Usage
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
Property Value
Type: System.String
A String that contains the unique name of the default member for the Hierarchy.
Remarks
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.