Share via


SqlAssemblyEvent.Inequality Operator

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

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

Syntax

'Declaration
Public Shared Operator <> ( _
    a As SqlAssemblyEvent, _
    b As SqlAssemblyEvent _
) As Boolean
'Usage
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 supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

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