ObjectEvent.Equality Operator

Creates a object event set by performing an equality operation on two ObjectEvent objects.

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

Syntax

'Declaration
Public Shared Operator = ( _
    a As ObjectEvent, _
    b As ObjectEvent _
) As Boolean
'Usage
Dim a As ObjectEvent
Dim b As ObjectEvent
Dim returnValue As Boolean

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

Parameters

Return Value

Type: System.Boolean
An ObjectEventSet object value that specifies a set of object events.