Share via


UIConnectionInfo.Equality Operator (UIConnectionInfo, Object)

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 UIConnectionInfo object is the same as the specified Object.

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

Syntax

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

returnValue = (infoA = infoB)
public static bool operator ==(
    UIConnectionInfo infoA,
    Object infoB
)
public:
static bool operator ==(
    UIConnectionInfo^ infoA, 
    Object^ infoB
)
static let inline (=)
        infoA:UIConnectionInfo * 
        infoB:Object  : 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.