EventField.Key.Equals メソッド (SfcKey)
EventField.Key オブジェクトと SfcKey オブジェクトとの等価演算を実行し、2 つのオブジェクトが等しいかどうかを確認します。
名前空間: Microsoft.SqlServer.Management.XEvent
アセンブリ: Microsoft.SqlServer.Management.XEvent (Microsoft.SqlServer.Management.XEvent.dll)
構文
'宣言
Public Overrides Function Equals ( _
key As SfcKey _
) As Boolean
'使用
Dim instance As EventField.Key
Dim key As SfcKey
Dim returnValue As Boolean
returnValue = instance.Equals(key)
public override bool Equals(
SfcKey key
)
public:
virtual bool Equals(
SfcKey^ key
) override
abstract Equals :
key:SfcKey -> bool
override Equals :
key:SfcKey -> bool
public override function Equals(
key : SfcKey
) : boolean
パラメーター
- key
型: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
比較する SfcKey オブジェクトです。
戻り値
型: System.Boolean
指定した 2 つのオブジェクトが等しいかどうかを示す Boolean オブジェクトです。True の場合、2 つのオブジェクトが等しいことを示します。False の場合、2 つのオブジェクトが等しくないことを示します。