共用方式為


Inequality 運算子 (UIConnectionInfo, UIConnectionInfo)

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

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.