Determines whether the two instances of activity are equal.
命名空間: Microsoft.SqlServer.XEvent
組件: Microsoft.SqlServer.XEvent.Linq (在 Microsoft.SqlServer.XEvent.Linq.dll 中)
語法
'宣告
Public Shared Operator = ( _
x As ActivityId, _
y As ActivityId _
) As Boolean
'用途
Dim x As ActivityId
Dim y As ActivityId
Dim returnValue As Boolean
returnValue = (x = y)
public static bool operator ==(
ActivityId x,
ActivityId y
)
public:
static bool operator ==(
ActivityId^ x,
ActivityId^ y
)
static let inline(=)
x:ActivityId *
y:ActivityId : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- x
型別:Microsoft.SqlServer.XEvent.ActivityId
The first activity to compare.
- y
型別:Microsoft.SqlServer.XEvent.ActivityId
The second activity to compare.
傳回值
型別:System.Boolean
true if the two activities are equal; otherwise, false.