Поделиться через


Свойство DefaultMember

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

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Property DefaultMember As String
    Get
    Set
'Применение
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)

Значение свойства

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

Замечания

If DefaultMember is not specified, or is set to an empty string, then Microsoft SQL Server 2005 Analysis Services (SSAS) chooses a member to use as the default member.