UIConnectionInfo.Inequality 运算符 (Object, UIConnectionInfo)

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

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether the specified Object is different than the specified UIConnectionInfo object.

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

语法

声明
Public Shared Operator <> ( _
    infoA As Object, _
    infoB As UIConnectionInfo _
) As Boolean
用法
Dim infoA As Object 
Dim infoB As UIConnectionInfo 
Dim returnValue As Boolean 

returnValue = (infoA <> infoB)
public static bool operator !=(
    Object infoA,
    UIConnectionInfo infoB
)
public:
static bool operator !=(
    Object^ infoA, 
    UIConnectionInfo^ infoB
)
static let inline(<>)
        infoA:Object * 
        infoB:UIConnectionInfo  : bool
JScript 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

类型:System.Boolean
true if the two objects are different; otherwise, false.

请参阅

参考

UIConnectionInfo 类

Inequality 重载

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