Condividi tramite


Operatore Equality

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Shared Operator = ( _
    a As StoredProcedureEvent, _
    b As StoredProcedureEvent _
) As Boolean
'Utilizzo
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 supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

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