Operatore 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
- leftOperand
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .ConnectionEvaluationHistory. . :: . .Key
A ConnectionEvaluationHistory..::..Key object that identifies the first object.
- rightOperand
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .ConnectionEvaluationHistory. . :: . .Key
A ConnectionEvaluationHistory..::..Key object that identifies the second object.
Valore restituito
Tipo: System. . :: . .Boolean
A Boolean value that is true if the objects are the same, otherwise false.