SqlHierarchyId.GreaterThanOrEqual Operator (SqlHierarchyId, SqlHierarchyId)
Applies To: SQL Server 2016 Preview
equivalentCodeEntity
M:Microsoft.SqlServer.Types.SqlHierarchyId.Compare(Microsoft.SqlServer.Types.SqlHierarchyId,Microsoft.SqlServer.Types.SqlHierarchyId)
Evaluates whether one specified SqlHierarchyId node is greater than or equal to another.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
public static SqlBoolean operator >=(
SqlHierarchyId hid1,
SqlHierarchyId hid2
)
public:
static SqlBoolean operator >=(
SqlHierarchyId hid1,
SqlHierarchyId hid2
)
static let inline (>=)
hid1:SqlHierarchyId *
hid2:SqlHierarchyId : SqlBoolean
Public Shared Operator >= (
hid1 As SqlHierarchyId,
hid2 As SqlHierarchyId
) As SqlBoolean
Parameters
hid1
Type: Microsoft.SqlServer.Types.SqlHierarchyIdFirst node to compare.
hid2
Type: Microsoft.SqlServer.Types.SqlHierarchyIdSecond node to compare.
Return Value
Type: System.Data.SqlTypes.SqlBoolean
Boolean. Returns true if hid1 is greater than or equal to hid2; otherwise, false.
Remarks
Returns null if either hid1 or hid2 are null.
This member is static.
See Also
SqlHierarchyId Structure
Microsoft.SqlServer.Types Namespace
Return to top