Partager via


Opérateur Equality (UIConnectionInfo, UIConnectionInfo)

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

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 UIConnectionInfo, _
    infoB As UIConnectionInfo _
) As Boolean
'Utilisation
Dim infoA As UIConnectionInfo
Dim infoB As UIConnectionInfo
Dim returnValue As Boolean

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