Поделиться через


Оператор Equality

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Shared Operator = ( _
    a As ViewEvent, _
    b As ViewEvent _
) As Boolean
'Применение
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 поддерживает использование перегруженных операторов, но не объявление новых.

Параметры

Возвращаемое значение

Тип: System. . :: . .Boolean
A ViewEventSet object value that specifies a set of view events.