Dela via


ViewEvent.Inequality Operator

Creates a view event set by performing an inequality operation on two ViewEvent objects.

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

Syntax

'Declaration
Public Shared Operator <> ( _
    a As ViewEvent, _
    b As ViewEvent _
) As Boolean
'Usage
Dim a As ViewEvent
Dim b As ViewEvent
Dim returnValue As Boolean

returnValue = (a <> b)
public static bool operator !=(
    ViewEvent a,
    ViewEvent b
)
public:
static bool operator !=(
    ViewEvent^ a, 
    ViewEvent^ b
)
static let inline (<>)
        a:ViewEvent * 
        b:ViewEvent  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
A ViewEventSet object value that specifies a set of view events.