UIConnectionInfo.Equality Operator (UIConnectionInfo, Object)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified UIConnectionInfo object is the same as the specified Object.
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 Object _
) As Boolean
'Usage
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 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: System.Object
A Object that specifies the second object.
Return Value
Type: System.Boolean
true if the two objects are equal; otherwise, false.