Equality 运算符

通过对两个 UserDefinedFunctionEvent 对象执行相等运算来创建用户定义函数事件集。

命名空间:  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
一个指定一组用户定义函数事件的 UserDefinedFunctionEventSet 对象值。