DimensionAttribute.DefaultMember DimensionAttribute.DefaultMember DimensionAttribute.DefaultMember Property

Definition

Gets or sets an MDX (Multidimensional Expressions) expression that identifies the default member of DimensionAttribute.

public:
 property System::String ^ DefaultMember { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AnalysisServices.LocalizedCategory("PropertyCategory_Advanced")]
[Microsoft.AnalysisServices.LocalizedDescription("PropertyDescription_DimensionAttribute_DefaultMember")]
[System.ComponentModel.Editor("Microsoft.AnalysisServices.Design.DefaultMemberTypeEditor, Microsoft.AnalysisServices.Design", typeof(System.Drawing.Design.UITypeEditor))]
[System.ComponentModel.MergableProperty(false)]
[System.Xml.Serialization.XmlElement(IsNullable=false)]
public string DefaultMember { get; set; }
Public Property DefaultMember As String
Property Value

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.

Applies to