Оператор UserDefinedFunctionEvent.Equality

Creates a user-defined function event set by performing an equality operation on two UserDefinedFunctionEvent objects.

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

Синтаксис

'Декларация
Public Shared Operator = ( _
    a As UserDefinedFunctionEvent, _
    b As UserDefinedFunctionEvent _
) As Boolean
'Применение
Dim a As UserDefinedFunctionEvent 
Dim b As UserDefinedFunctionEvent 
Dim returnValue As Boolean 

returnValue = (a = b)
public static bool operator ==(
    UserDefinedFunctionEvent a,
    UserDefinedFunctionEvent b
)
public:
static bool operator ==(
    UserDefinedFunctionEvent^ a, 
    UserDefinedFunctionEvent^ b
)
static let inline(=)
        a:UserDefinedFunctionEvent * 
        b:UserDefinedFunctionEvent  : bool
JScript поддерживает использование перегруженных операторов, но не объявление новых.

Параметры

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

Тип: System.Boolean
A UserDefinedFunctionEventSet object value that specifies a set of user-defined function events.

Примеры

Обработка событий SMO

См. также

Справочник

UserDefinedFunctionEvent Класс

Пространство имен Microsoft.SqlServer.Management.Smo