Freigeben über


Inequality-Operator

Creates a stored procedure event set by performing an inequality operation on two StoredProcedureEvent objects.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    a As StoredProcedureEvent, _
    b As StoredProcedureEvent _
) As Boolean
'Usage
Dim a As StoredProcedureEvent
Dim b As StoredProcedureEvent
Dim returnValue As Boolean

returnValue = (a <> b)
public static bool operator !=(
    StoredProcedureEvent a,
    StoredProcedureEvent b
)
public:
static bool operator !=(
    StoredProcedureEvent^ a, 
    StoredProcedureEvent^ b
)
static let inline (<>)
        a:StoredProcedureEvent * 
        b:StoredProcedureEvent  : bool
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

Typ: System. . :: . .Boolean
A StoredProcedureEventSet object value that specifies a set of stored procedure events.