SqlHierarchyId.GetDescendant(SqlHierarchyId, SqlHierarchyId) Method

Definition

Gets the value of a descendant SqlHierarchyId node that is greater than child1 and less than child2.

[Microsoft.SqlServer.Server.SqlMethod(DataAccess=Microsoft.SqlServer.Server.DataAccessKind.None, InvokeIfReceiverIsNull=false, IsDeterministic=true, IsMutator=false, IsPrecise=true, OnNullCall=true, SystemDataAccess=Microsoft.SqlServer.Server.SystemDataAccessKind.None)]
public Microsoft.SqlServer.Types.SqlHierarchyId GetDescendant (Microsoft.SqlServer.Types.SqlHierarchyId child1, Microsoft.SqlServer.Types.SqlHierarchyId child2);
[<Microsoft.SqlServer.Server.SqlMethod(DataAccess=Microsoft.SqlServer.Server.DataAccessKind.None, InvokeIfReceiverIsNull=false, IsDeterministic=true, IsMutator=false, IsPrecise=true, OnNullCall=true, SystemDataAccess=Microsoft.SqlServer.Server.SystemDataAccessKind.None)>]
member this.GetDescendant : Microsoft.SqlServer.Types.SqlHierarchyId * Microsoft.SqlServer.Types.SqlHierarchyId -> Microsoft.SqlServer.Types.SqlHierarchyId
Public Function GetDescendant (child1 As SqlHierarchyId, child2 As SqlHierarchyId) As SqlHierarchyId

Parameters

child1
SqlHierarchyId

The lower bound.

child2
SqlHierarchyId

The upper bound.

Returns

A SqlHierarchyId with a value greater than the lower bound and less than the upper bound.

Attributes

Applies to