Share via


IntegrationServices.Key.Equality Operator (IntegrationServices.Key, IntegrationServices.Key)

Indicates whether the key objects have the same value using the specified operands.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    leftOperand As IntegrationServices.Key, _
    rightOperand As IntegrationServices.Key _
) As Boolean
'Usage
Dim leftOperand As IntegrationServices.Key 
Dim rightOperand As IntegrationServices.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand = rightOperand)
public static bool operator ==(
    IntegrationServices.Key leftOperand,
    IntegrationServices.Key rightOperand
)
public:
static bool operator ==(
    IntegrationServices.Key^ leftOperand, 
    IntegrationServices.Key^ rightOperand
)
static let inline(=)
        leftOperand:IntegrationServices.Key * 
        rightOperand:IntegrationServices.Key  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if the key objects have the same value using the specified operands; otherwise, false.

See Also

Reference

IntegrationServices.Key Class

Equality Overload

Microsoft.SqlServer.Management.IntegrationServices Namespace