Compartilhar via


Operador Inequality

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

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

Sintaxe

'Declaração
Public Shared Operator <> ( _
    a As ServiceQueueEvent, _
    b As ServiceQueueEvent _
) As Boolean
'Uso
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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

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