共用方式為


RootIfValues

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

Enumerates values for the RootMemberIf property.

Constant

Description

rootifParentIsBlank

Only members with a null, a zero, or an empty string in their ParentKeyColumn are treated as root members.

rootifParentIsBlankOrSelfOrMissing

Members are treated as root members if they meet one or more of the conditions specified by rootifParentIsBlank, rootifParentIsSelf, or rootifParentIsMissing.

rootifParentIsMissing

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

rootifParentIsSelf

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