Operatore Equality
Creates a server trace event set by comparing two ServerTraceEvent objects.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Shared Operator = ( _
a As ServerTraceEvent, _
b As ServerTraceEvent _
) As Boolean
'Utilizzo
Dim a As ServerTraceEvent
Dim b As ServerTraceEvent
Dim returnValue As Boolean
returnValue = (a = b)
public static bool operator ==(
ServerTraceEvent a,
ServerTraceEvent b
)
public:
static bool operator ==(
ServerTraceEvent^ a,
ServerTraceEvent^ b
)
static let inline (=)
a:ServerTraceEvent *
b:ServerTraceEvent : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.
Parametri
- a
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEvent
A ServerTraceEvent object that specifies the server trace events.
- b
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEvent
A ServerTraceEvent object that specifies the server trace events.
Valore restituito
Tipo: System. . :: . .Boolean
A ServerTraceEventSet object value that specifies a set of server trace events that are common to both ServerTraceEvent objects.
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.
Vedere anche