Opérateur Equality (UIConnectionInfo, Object)
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 UIConnectionInfo object is the same as the specified 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 UIConnectionInfo, _
infoB As Object _
) As Boolean
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- infoA
Type : Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
A UIConnectionInfo object that specifies the first object.
- infoB
Type : System. . :: . .Object
A Object that specifies the second object.
Valeur de retour
Type : System. . :: . .Boolean
true if the two objects are equal; otherwise, false.