Langue

SqlHierarchyId.GetLevel Méthode

Définition

Obtient une valeur indiquant le niveau du SqlHierarchyId nœud dans l’arborescence hiérarchique.

[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.SqlInt16 GetLevel();
[<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.GetLevel : unit -> System.Data.SqlTypes.SqlInt16
Public Function GetLevel () As SqlInt16

Retours

Entier 16 bits indiquant la profondeur du SqlHierarchyId nœud dans l’arborescence hiérarchique. La racine de la hiérarchie est le niveau 0.

Attributs

S’applique à