UIConnectionInfo.Inequality Operator (UIConnectionInfo, UIConnectionInfo)
This API supports the infrastructure and is not intended to be used directly from your code.
Determines whether two UIConnectionInfo objects are different.
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 that second object.
Return Value
Type: System.Boolean
true if the connections are not equal; otherwise, false.