Share via


ServiceQueueEvent.Inequality-Operator

Creates a service queue event set by performing an inequality operation on two ServiceQueueEvent objects.

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

Syntax

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

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

Parameter

Rückgabewert

Typ: System.Boolean
A ServiceQueueEventSet object value that specifies a set of service queue events.

Beispiele

Behandeln von SMO-Ereignissen

Siehe auch

Verweis

ServiceQueueEvent Klasse

Microsoft.SqlServer.Management.Smo-Namespace