DimensionAttribute.RootMemberIf Property

 

Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

[DefaultValueAttribute(RootIfValue.ParentIsBlankSelfOrMissing)]
public RootIfValue RootMemberIf { get; set; }
public:
[DefaultValueAttribute(RootIfValue::ParentIsBlankSelfOrMissing)]
property RootIfValue RootMemberIf {
    RootIfValue get();
    void set(RootIfValue value);
}
[<DefaultValueAttribute(RootIfValue.ParentIsBlankSelfOrMissing)>]
member RootMemberIf : RootIfValue with get, set
<DefaultValueAttribute(RootIfValue.ParentIsBlankSelfOrMissing)>
Public Property RootMemberIf As RootIfValue

Property Value

Type: Microsoft.AnalysisServices.RootIfValue

A RootIfValue that determines how the root member or members of a parent attribute are identified.

Remarks

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.

See Also

DimensionAttribute Class
Microsoft.AnalysisServices Namespace

Return to top