Condividi tramite


Operatore GreaterThanOrEqual

Evaluates whether one specified SqlHierarchyId node is greater than or equal to another.

Spazio dei nomi  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Sintassi

'Dichiarazione
Public Shared Operator >= ( _
    hid1 As SqlHierarchyId, _
    hid2 As SqlHierarchyId _
) As SqlBoolean
'Utilizzo
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 supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System.Data.SqlTypes. . :: . .SqlBoolean
Boolean . Returns true if hid1 is greater than or equal to hid2; otherwise, false.

Osservazioni

Returns null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). if either hid1 or hid2 are null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). .

This member is static.