Partager via


Opérateur Equality (Object, UIConnectionInfo)

Cette API prend en charge l'infrastructure et n'est pas destinée à être utilisée directement à partir de votre code.

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Determines whether the specified Object is the same as the specified UIConnectionInfo object.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly :  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Syntaxe

'Déclaration
Public Shared Operator = ( _
    infoA As Object, _
    infoB As UIConnectionInfo _
) As Boolean
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

Valeur de retour

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