SqlHierarchyId.GetRoot 메서드
Gets a value representing the root SqlHierarchyId node of the hierarchy.
네임스페이스: Microsoft.SqlServer.Types
어셈블리: Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)
구문
‘선언
<SqlMethodAttribute(DataAccess := DataAccessKind.None, SystemDataAccess := SystemDataAccessKind.None, _
InvokeIfReceiverIsNull := False, OnNullCall := False, _
IsDeterministic := True, IsPrecise := True, IsMutator := False)> _
Public Shared Function GetRoot As SqlHierarchyId
‘사용 방법
Dim returnValue As SqlHierarchyId
returnValue = SqlHierarchyId.GetRoot()
[SqlMethodAttribute(DataAccess = DataAccessKind.None, SystemDataAccess = SystemDataAccessKind.None,
InvokeIfReceiverIsNull = false, OnNullCall = false,
IsDeterministic = true, IsPrecise = true, IsMutator = false)]
public static SqlHierarchyId GetRoot()
[SqlMethodAttribute(DataAccess = DataAccessKind::None, SystemDataAccess = SystemDataAccessKind::None,
InvokeIfReceiverIsNull = false, OnNullCall = false,
IsDeterministic = true, IsPrecise = true, IsMutator = false)]
public:
static SqlHierarchyId GetRoot()
[<SqlMethodAttribute(DataAccess = DataAccessKind.None, SystemDataAccess = SystemDataAccessKind.None,
InvokeIfReceiverIsNull = false, OnNullCall = false,
IsDeterministic = true, IsPrecise = true, IsMutator = false)>]
static member GetRoot : unit -> SqlHierarchyId
public static function GetRoot() : SqlHierarchyId
반환 값
유형: 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() ;