UIConnectionInfo.Inequality 运算符 (UIConnectionInfo, UIConnectionInfo)

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Determines whether two UIConnectionInfo objects are different.

命名空间:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集:  Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)

语法

声明
Public Shared Operator <> ( _
    infoA As UIConnectionInfo, _
    infoB As UIConnectionInfo _
) As Boolean
用法
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 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

类型:System.Boolean
true if the connections are not equal; otherwise, false.

请参阅

参考

UIConnectionInfo 类

Inequality 重载

Microsoft.SqlServer.Management.Smo.RegSvrEnum 命名空间