UIConnectionInfo.Equality Operator (UIConnectionInfo, UIConnectionInfo)
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether two specified UIConnectionInfo objects are the same.
Namespace: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)
Syntax
'Declaration
Public Shared Operator = ( _
infoA As UIConnectionInfo, _
infoB As UIConnectionInfo _
) As Boolean
'Usage
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 supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- infoA
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
A UIConnectionInfo object that specifies the first object.
- infoB
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
A UIConnectionInfo object that specifies the second object.
Return Value
Type: System.Boolean
true if the two objects are equal; otherwise, false.