Partager via


Inequality opérateur

Creates an assembly event set by performing an inequality operation on two SqlAssemblyEvent objects.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Operator <> ( _
    a As SqlAssemblyEvent, _
    b As SqlAssemblyEvent _
) As Boolean
'Utilisation
Dim a As SqlAssemblyEvent
Dim b As SqlAssemblyEvent
Dim returnValue As Boolean

returnValue = (a <> b)
public static bool operator !=(
    SqlAssemblyEvent a,
    SqlAssemblyEvent b
)
public:
static bool operator !=(
    SqlAssemblyEvent^ a, 
    SqlAssemblyEvent^ b
)
static let inline (<>)
        a:SqlAssemblyEvent * 
        b:SqlAssemblyEvent  : bool
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
A SqlAssemblyEventSet object value that specifies a set of assembly events.