DimensionAttribute.DefaultMember Property

Definition

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

[Microsoft.AnalysisServices.LocalizedCategory("PropertyCategory_Advanced")]
[Microsoft.AnalysisServices.LocalizedDescription("PropertyDescription_DimensionAttribute_DefaultMember")]
public string DefaultMember { get; set; }
[<Microsoft.AnalysisServices.LocalizedCategory("PropertyCategory_Advanced")>]
[<Microsoft.AnalysisServices.LocalizedDescription("PropertyDescription_DimensionAttribute_DefaultMember")>]
member this.DefaultMember : string with get, set
Public Property DefaultMember As String

Property Value

String

A string containing an MDX (Multidimensional Expressions) expression that identifies the default member of DimensionAttribute.

Attributes
Microsoft.AnalysisServices.LocalizedCategoryAttribute Microsoft.AnalysisServices.LocalizedDescriptionAttribute

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