Compartilhar via


Operador Equality

Creates a stored procedure event set by performing an equality operation on two StoredProcedureEvent objects.

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

Sintaxe

'Declaração
Public Shared Operator = ( _
    a As StoredProcedureEvent, _
    b As StoredProcedureEvent _
) As Boolean
'Uso
Dim a As StoredProcedureEvent
Dim b As StoredProcedureEvent
Dim returnValue As Boolean

returnValue = (a = b)
public static bool operator ==(
    StoredProcedureEvent a,
    StoredProcedureEvent b
)
public:
static bool operator ==(
    StoredProcedureEvent^ a, 
    StoredProcedureEvent^ b
)
static let inline (=)
        a:StoredProcedureEvent * 
        b:StoredProcedureEvent  : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
A StoredProcedureEventSet object value that specifies a set of stored procedure events.