Condividi tramite


Proprietà DimensionAttribute.DefaultMember

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

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

Sintassi

'Dichiarazione
Public Property DefaultMember As String 
    Get 
    Set
'Utilizzo
Dim instance As DimensionAttribute 
Dim value As String 

value = instance.DefaultMember

instance.DefaultMember = value
public string DefaultMember { get; set; }
public:
property String^ DefaultMember {
    String^ get ();
    void set (String^ value);
}
member DefaultMember : string with get, set
function get DefaultMember () : String 
function set DefaultMember (value : String)

Valore proprietà

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

Osservazioni

If DefaultMember is not specified, or is set to an empty string, then Analysis Services chooses a member to use as the default member.

Vedere anche

Riferimento

DimensionAttribute Classe

Spazio dei nomi Microsoft.AnalysisServices