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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

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