Оператор 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 поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- a
Тип Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEvent
A UserDefinedFunctionEvent object that specifies the user-defined function events.
- b
Тип Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEvent
A UserDefinedFunctionEvent object that specifies the user-defined function events.
Возвращаемое значение
Тип System. . :: . .Boolean
A UserDefinedFunctionEventSet object value that specifies a set of user-defined function events.