Operatore ConnectionEvaluationHistory.Key.Equality (ConnectionEvaluationHistory.Key, ConnectionEvaluationHistory.Key)

Determines whether the objects identified by two ConnectionEvaluationHistory.Key objects are the same.

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

Sintassi

'Dichiarazione
Public Shared Operator = ( _
    leftOperand As ConnectionEvaluationHistory.Key, _
    rightOperand As ConnectionEvaluationHistory.Key _
) As Boolean
'Utilizzo
Dim leftOperand As ConnectionEvaluationHistory.Key 
Dim rightOperand As ConnectionEvaluationHistory.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand = rightOperand)
public static bool operator ==(
    ConnectionEvaluationHistory.Key leftOperand,
    ConnectionEvaluationHistory.Key rightOperand
)
public:
static bool operator ==(
    ConnectionEvaluationHistory.Key^ leftOperand, 
    ConnectionEvaluationHistory.Key^ rightOperand
)
static let inline(=)
        leftOperand:ConnectionEvaluationHistory.Key * 
        rightOperand:ConnectionEvaluationHistory.Key  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System.Boolean
A Boolean value that is true if the objects are the same, otherwise false.

Vedere anche

Riferimento

ConnectionEvaluationHistory.Key Classe

Overload Equality

Spazio dei nomi Microsoft.SqlServer.Management.Dmf