DimensionAttribute.DefaultMember Property
Applies To: SQL Server 2016 Preview
Gets or sets an MDX (Multidimensional Expressions) expression that identifies the default member of DimensionAttribute.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
[XmlElementAttribute(IsNullable = false)]
[EditorAttribute("Microsoft.AnalysisServices.Design.DefaultMemberTypeEditor, Microsoft.AnalysisServices.Design",
typeof(UITypeEditor))]
[MergablePropertyAttribute(false)]
public string DefaultMember { get; set; }
public:
[XmlElementAttribute(IsNullable = false)]
[EditorAttribute("Microsoft.AnalysisServices.Design.DefaultMemberTypeEditor, Microsoft.AnalysisServices.Design",
(UITypeEditor^::typeid))]
[MergablePropertyAttribute(false)]
property String^ DefaultMember {
String^ get();
void set(String^ value);
}
[<XmlElementAttribute(IsNullable = false)>]
[<EditorAttribute("Microsoft.AnalysisServices.Design.DefaultMemberTypeEditor, Microsoft.AnalysisServices.Design",
typeof(UITypeEditor))>]
[<MergablePropertyAttribute(false)>]
member DefaultMember : string with get, set
<XmlElementAttribute(IsNullable := False)>
<EditorAttribute("Microsoft.AnalysisServices.Design.DefaultMemberTypeEditor, Microsoft.AnalysisServices.Design",
GetType(UITypeEditor))>
<MergablePropertyAttribute(False)>
Public Property DefaultMember As String
Property Value
Type: System.String
A string containing an MDX (Multidimensional Expressions) expression that identifies the default member of DimensionAttribute.
Remarks
If DefaultMember is not specified, or is set to an empty string, then Analysis Services chooses a member to use as the default member.
See Also
DimensionAttribute Class
Microsoft.AnalysisServices Namespace
Return to top