Freigeben über


Equality-Operator

Creates a view event set by performing an equality 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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

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