Equality Operador (UIConnectionInfo, UIConnectionInfo)
No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Determines whether two specified UIConnectionInfo objects are the same.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Ensamblado: Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)
Sintaxis
'Declaración
Public Shared Operator = ( _
infoA As UIConnectionInfo, _
infoB As UIConnectionInfo _
) As Boolean
'Uso
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 admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.
Parámetros
- infoA
Tipo: Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
A UIConnectionInfo object that specifies the first object.
- infoB
Tipo: Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
A UIConnectionInfo object that specifies the second object.
Valor devuelto
Tipo: System. . :: . .Boolean
true if the two objects are equal; otherwise, false.