Equality 演算子 (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 はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- lhs
型: Microsoft.SqlServer.Management.Collector. . :: . .CollectorConfigStore. . :: . .Key
キーの左辺を含む Key オブジェクトです。
- rhs
型: Microsoft.SqlServer.Management.Collector. . :: . .CollectorConfigStore. . :: . .Key
キーの右辺を含む Key オブジェクトです。
戻り値
型: System. . :: . .Boolean
次の場合に TRUE を返す Boolean 値です。
- どちらの辺も NULL ではなく、かつ lhs がキーであり、かつ rhs がキーであり、かつキーが等価である場合
説明
この名前空間、クラス、またはメンバは、Microsoft .NET Framework 2.0 でのみサポートされています。