Share via


ServiceQueueEvent.Equality Operator

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    a As ServiceQueueEvent, _
    b As ServiceQueueEvent _
) As Boolean
'Usage
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 supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

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