Share via


UIConnectionInfo.Equality Operator (Object, UIConnectionInfo)

This API supports the infrastructure and is not intended to be used directly from your code.

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified Object is the same as the specified UIConnectionInfo object.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    infoA As Object, _
    infoB As UIConnectionInfo _
) As Boolean
'Usage
Dim infoA As Object
Dim infoB As UIConnectionInfo
Dim returnValue As Boolean

returnValue = (infoA = infoB)
public static bool operator ==(
    Object infoA,
    UIConnectionInfo infoB
)
public:
static bool operator ==(
    Object^ infoA, 
    UIConnectionInfo^ infoB
)
static let inline (=)
        infoA:Object * 
        infoB:UIConnectionInfo  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if the two objects are equal; otherwise, false.