Delen via


StoredProcedureEvent.Inequality Operator

Creates a stored procedure event set by performing an inequality operation on two StoredProcedureEvent objects.

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

Syntax

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

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

Parameters

Return Value

Type: System.Boolean
A StoredProcedureEventSet object value that specifies a set of stored procedure events.