EventColumnInfo.Key.Inequality 演算子 (EventColumnInfo.Key, EventColumnInfo.Key)
2 つの EventColumnInfo.Key オブジェクトが等しいかどうかを確認します。
名前空間: Microsoft.SqlServer.Management.XEvent
アセンブリ: Microsoft.SqlServer.Management.XEvent (Microsoft.SqlServer.Management.XEvent.dll)
構文
'宣言
Public Shared Operator <> ( _
leftOperand As EventColumnInfo.Key, _
rightOperand As EventColumnInfo.Key _
) As Boolean
'使用
Dim leftOperand As EventColumnInfo.Key
Dim rightOperand As EventColumnInfo.Key
Dim returnValue As Boolean
returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
EventColumnInfo.Key leftOperand,
EventColumnInfo.Key rightOperand
)
public:
static bool operator !=(
EventColumnInfo.Key^ leftOperand,
EventColumnInfo.Key^ rightOperand
)
static let inline(<>)
leftOperand:EventColumnInfo.Key *
rightOperand:EventColumnInfo.Key : bool
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- leftOperand
型: Microsoft.SqlServer.Management.XEvent.EventColumnInfo.Key
EventColumnInfo.Key オブジェクトです。
- rightOperand
型: Microsoft.SqlServer.Management.XEvent.EventColumnInfo.Key
EventColumnInfo.Key オブジェクトです。
戻り値
型: System.Boolean
2 つのオブジェクトの非等価演算の実行結果を示すブール値です。2 つのオブジェクトが等しくない場合は True、それ以外の場合は False です。