共用方式為


ActivityId.Inequality 運算子

Determines whether the two instances of activity are not 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 支援多載運算子的使用,但不支援新運算子的宣告。

參數

傳回值

型別:System.Boolean
true if the two activities are not equal; otherwise, false.

請參閱

參考

ActivityId 類別

Microsoft.SqlServer.XEvent 命名空間