DimensionAttribute.DefaultMember 属性

Gets or sets an MDX (Multidimensional Expressions) 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 an MDX (Multidimensional Expressions) expression that identifies the default member of DimensionAttribute.

注释

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

请参阅

参考

DimensionAttribute 类

Microsoft.AnalysisServices 命名空间