SqlHierarchyId.GetRoot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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