다음을 통해 공유


GreaterThan 연산자

Evaluates whether one specified SqlHierarchyId node is greater than another.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
Public Shared Operator > ( _
    hid1 As SqlHierarchyId, _
    hid2 As SqlHierarchyId _
) As SqlBoolean
‘사용 방법
Dim hid1 As SqlHierarchyId
Dim hid2 As SqlHierarchyId
Dim returnValue As SqlBoolean

returnValue = (hid1 > hid2)
public static SqlBoolean operator >(
    SqlHierarchyId hid1,
    SqlHierarchyId hid2
)
public:
static SqlBoolean operator >(
    SqlHierarchyId hid1, 
    SqlHierarchyId hid2
)
static let inline (>)
        hid1:SqlHierarchyId * 
        hid2:SqlHierarchyId  : SqlBoolean
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

유형: System.Data.SqlTypes. . :: . .SqlBoolean
Boolean . Returns true if hid1 is greater than hid2; otherwise, false.

주의

Returns null Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) if either hid1 or hid2 are null Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) .

This member is static.