RootMemberIf 属性

Gets or sets how the root member or members of a parent attribute are identified.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Property RootMemberIf As RootIfValue
    Get
    Set
用法
Dim instance As DimensionAttribute
Dim value As RootIfValue

value = instance.RootMemberIf

instance.RootMemberIf = value
public RootIfValue RootMemberIf { get; set; }
public:
property RootIfValue RootMemberIf {
    RootIfValue get ();
    void set (RootIfValue value);
}
member RootMemberIf : RootIfValue with get, set
function get RootMemberIf () : RootIfValue
function set RootMemberIf (value : RootIfValue)

属性值

类型:Microsoft.AnalysisServices. . :: . .RootIfValue
A RootIfValue that determines how the root member or members of a parent attribute are identified.

注释

The value of the RootMemberIf property is used only by parent attributes (in other words, the value of Usage is set to Parent) to determine the root (topmost) members of a parent-child hierarchy.

The value of this property is limited to one of the strings listed in the following table.

Value

Description

ParentIsBlankSelfOrMissing

Only members that meet one or more of the conditions described for ParentIsBlank, ParentIsSelf, or ParentIsMissing are treated as root members.

ParentIsBlank

Only members with a null, a zero, or an empty string in the key columns represented by KeyColumns are treated as root members.

ParentIsSelf

Only members with themselves as parents are treated as root members.

ParentIsMissing

Only members with parents that cannot be found are treated as root members.