DimensionAttribute.RootMemberIf Property
Gets or sets how the root member or members of a parent attribute are identified.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
語法
'宣告
<DefaultValueAttribute(RootIfValue.ParentIsBlankSelfOrMissing)> _
Public Property RootMemberIf As RootIfValue
[DefaultValueAttribute(RootIfValue.ParentIsBlankSelfOrMissing)]
public RootIfValue RootMemberIf { get; set; }
[DefaultValueAttribute(RootIfValue::ParentIsBlankSelfOrMissing)]
public:
property RootIfValue RootMemberIf {
RootIfValue get ();
void set (RootIfValue value);
}
/** @property */
public RootIfValue get_RootMemberIf ()
/** @property */
public void set_RootMemberIf (RootIfValue value)
public function get RootMemberIf () : RootIfValue
public function set RootMemberIf (value : 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. |
執行緒安全性
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