Operador UIConnectionInfo.Equality (UIConnectionInfo, UIConnectionInfo)
Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Determines whether two specified UIConnectionInfo objects are the same.
Namespace: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (em Microsoft.SqlServer.RegSvrEnum.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
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 de retorno
Tipo: System.Boolean
true if the two objects are equal; otherwise, false.