次の方法で共有


CollectorConfigStore.Key.Inequality 演算子 (CollectorConfigStore.Key, CollectorConfigStore.Key)

キーの左辺と右辺のブール式の不等価比較を実行します。

名前空間:  Microsoft.SqlServer.Management.Collector
アセンブリ:  Microsoft.SqlServer.Management.Collector (Microsoft.SqlServer.Management.Collector.dll)

構文

'宣言
Public Shared Operator <> ( _
    lhs As CollectorConfigStore.Key, _
    rhs As CollectorConfigStore.Key _
) As Boolean
'使用
Dim lhs As CollectorConfigStore.Key 
Dim rhs As CollectorConfigStore.Key 
Dim returnValue As Boolean 

returnValue = (lhs <> rhs)
public static bool operator !=(
    CollectorConfigStore.Key lhs,
    CollectorConfigStore.Key rhs
)
public:
static bool operator !=(
    CollectorConfigStore.Key^ lhs, 
    CollectorConfigStore.Key^ rhs
)
static let inline(<>)
        lhs:CollectorConfigStore.Key * 
        rhs:CollectorConfigStore.Key  : bool
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

戻り値

型: System.Boolean

次の場合に TRUE を返す Boolean 値です。

  • 一方の辺が NULL である、または lhs がキーではない、または rhs がキーではない、かつキーが不等価である場合

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework 2.0 でのみサポートされています。

関連項目

参照

CollectorConfigStore.Key クラス

Inequality オーバーロード

Microsoft.SqlServer.Management.Collector 名前空間