SqlHierarchyId.GetRoot Method

Definition

Gets a value representing the root SqlHierarchyId node of the hierarchy.

[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 static Microsoft.SqlServer.Types.SqlHierarchyId GetRoot ();
[<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)>]
static member GetRoot : unit -> Microsoft.SqlServer.Types.SqlHierarchyId
Public Shared Function GetRoot () As SqlHierarchyId

Returns

A SqlHierarchyId representing the root node of the hierarchical tree.Root value is typically 0x.

Attributes

Applies to