Condividi tramite


Operatore Inequality

Creates a database event set by performing an inequality operation on two DatabaseEvent objects.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Shared Operator <> ( _
    a As DatabaseEvent, _
    b As DatabaseEvent _
) As Boolean
'Utilizzo
Dim a As DatabaseEvent
Dim b As DatabaseEvent
Dim returnValue As Boolean

returnValue = (a <> b)
public static bool operator !=(
    DatabaseEvent a,
    DatabaseEvent b
)
public:
static bool operator !=(
    DatabaseEvent^ a, 
    DatabaseEvent^ b
)
static let inline (<>)
        a:DatabaseEvent * 
        b:DatabaseEvent  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
A DatabaseEventSet object value that specifies a set of database events.