다음을 통해 공유


DimensionAttribute.DefaultMember Property

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

네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

구문

‘선언
<EditorAttribute("Microsoft.AnalysisServices.Design.DefaultMemberTypeEditor, Microsoft.AnalysisServices.Design", GetType(UITypeEditor))> _
<XmlElementAttribute(IsNullable:=False)> _
<MergablePropertyAttribute(False)> _
Public Property DefaultMember As String
[EditorAttribute("Microsoft.AnalysisServices.Design.DefaultMemberTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
[XmlElementAttribute(IsNullable=false)] 
[MergablePropertyAttribute(false)] 
public string DefaultMember { get; set; }
[EditorAttribute(L"Microsoft.AnalysisServices.Design.DefaultMemberTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
[XmlElementAttribute(IsNullable=false)] 
[MergablePropertyAttribute(false)] 
public:
property String^ DefaultMember {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_DefaultMember ()

/** @property */
public void set_DefaultMember (String value)
public function get DefaultMember () : String

public function set DefaultMember (value : 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.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace