Opérateur GreaterThan
Evaluates whether one specified SqlHierarchyId node is greater than another.
Espace de noms : Microsoft.SqlServer.Types
Assembly : Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Syntaxe
'Déclaration
Public Shared Operator > ( _
hid1 As SqlHierarchyId, _
hid2 As SqlHierarchyId _
) As SqlBoolean
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- hid1
Type : Microsoft.SqlServer.Types. . :: . .SqlHierarchyId
First node to compare.
- hid2
Type : Microsoft.SqlServer.Types. . :: . .SqlHierarchyId
Second node to compare.
Valeur de retour
Type : System.Data.SqlTypes. . :: . .SqlBoolean
Boolean . Returns true if hid1 is greater than hid2; otherwise, false.
Notes
Returns null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) if either hid1 or hid2 are null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) .
This member is static.