共用方式為


Inequality 運算子 (Object, UIConnectionInfo)

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

不要直接在程式碼中參照此成員。其支援 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.