Inequality-Operator
Evaluates whether two SqlHierarchyId nodes are unequal.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
Public Shared Operator <> ( _
hid1 As SqlHierarchyId, _
hid2 As SqlHierarchyId _
) As SqlBoolean
'Usage
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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.
Parameter
- hid1
Typ: Microsoft.SqlServer.Types. . :: . .SqlHierarchyId
First node to compare.
- hid2
Typ: Microsoft.SqlServer.Types. . :: . .SqlHierarchyId
Second node to compare.
Rückgabewert
Typ: System.Data.SqlTypes. . :: . .SqlBoolean
Boolean . true (1) if hid1 and hid2 are unequal; otherwise, false (0).
Hinweise
Returns null Nothing nullptr unit ein NULL-Verweis (Nothing in Visual Basic) if either hid1 or hid2 are null Nothing nullptr unit ein NULL-Verweis (Nothing in Visual Basic) .
This member is static.