Partilhar via


Operador Inequality

Creates an object event set by performing an inequality operation on two ObjectEvent objects.

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

Sintaxe

'Declaração
Public Shared Operator <> ( _
    a As ObjectEvent, _
    b As ObjectEvent _
) As Boolean
'Uso
Dim a As ObjectEvent
Dim b As ObjectEvent
Dim returnValue As Boolean

returnValue = (a <> b)
public static bool operator !=(
    ObjectEvent a,
    ObjectEvent b
)
public:
static bool operator !=(
    ObjectEvent^ a, 
    ObjectEvent^ b
)
static let inline (<>)
        a:ObjectEvent * 
        b:ObjectEvent  : 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
An ObjectEventSet object value that specifies a set of object events.