ServiceQueueEvent.Equality 运算符

Creates a service queue event set by performing an equality operation on two ServiceQueueEvent objects.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Shared Operator = ( _
    a As ServiceQueueEvent, _
    b As ServiceQueueEvent _
) As Boolean
用法
Dim a As ServiceQueueEvent 
Dim b As ServiceQueueEvent 
Dim returnValue As Boolean 

returnValue = (a = b)
public static bool operator ==(
    ServiceQueueEvent a,
    ServiceQueueEvent b
)
public:
static bool operator ==(
    ServiceQueueEvent^ a, 
    ServiceQueueEvent^ b
)
static let inline(=)
        a:ServiceQueueEvent * 
        b:ServiceQueueEvent  : bool
JScript 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

类型:System.Boolean
A ServiceQueueEventSet object value that specifies a set of service queue events.

示例

处理 SMO 事件

请参阅

参考

ServiceQueueEvent 类

Microsoft.SqlServer.Management.Smo 命名空间