Export (0) Print
Expand All

SqlHierarchyId.GetRoot Method

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

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(DataAccess = DataAccessKind.None, SystemDataAccess = SystemDataAccessKind.None, 
	InvokeIfReceiverIsNull = false, OnNullCall = false, 
	IsDeterministic = true, IsPrecise = true, IsMutator = false)]
public static SqlHierarchyId GetRoot()

Return Value

Type: Microsoft.SqlServer.Types.SqlHierarchyId
A SqlHierarchyId representing the root node of the hierarchical tree.Root value is typically 0x.

This member is static.

SELECT HierarchyID::GetRoot() ;

Community Additions

ADD
Show:
© 2014 Microsoft