Langue

SqlHierarchyId.IsDescendantOf(SqlHierarchyId) Méthode

Définition

Obtient une valeur indiquant si le SqlHierarchyId nœud est le descendant du parent.

[Microsoft.SqlServer.Server.SqlMethod(DataAccess=Microsoft.SqlServer.Server.DataAccessKind.None, InvokeIfReceiverIsNull=false, IsDeterministic=true, IsMutator=false, IsPrecise=true, OnNullCall=false, SystemDataAccess=Microsoft.SqlServer.Server.SystemDataAccessKind.None)]
public System.Data.SqlTypes.SqlBoolean IsDescendantOf(Microsoft.SqlServer.Types.SqlHierarchyId parent);
[<Microsoft.SqlServer.Server.SqlMethod(DataAccess=Microsoft.SqlServer.Server.DataAccessKind.None, InvokeIfReceiverIsNull=false, IsDeterministic=true, IsMutator=false, IsPrecise=true, OnNullCall=false, SystemDataAccess=Microsoft.SqlServer.Server.SystemDataAccessKind.None)>]
member this.IsDescendantOf : Microsoft.SqlServer.Types.SqlHierarchyId -> System.Data.SqlTypes.SqlBoolean
Public Function IsDescendantOf (parent As SqlHierarchyId) As SqlBoolean

Paramètres

parent
SqlHierarchyId

Nœud spécifié SqlHierarchyId pour lequel le test IsDescendantOf est effectué.

Retours

Boolean, true (1) pour tous les nœuds de la sous-arborescence rootée à parent; false (0) pour tous les autres nœuds.

Attributs

S’applique à