ObjectEvent.Inequality 運算子
Creates an object event set by performing an inequality operation on two ObjectEvent objects.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Operator <> ( _
a As ObjectEvent, _
b As ObjectEvent _
) As Boolean
'用途
Dim a As ObjectEvent
Dim b As ObjectEvent
Dim returnValue As Boolean
returnValue = (a <> b)
public static bool operator !=(
ObjectEvent a,
ObjectEvent b
)
public:
static bool operator !=(
ObjectEvent^ a,
ObjectEvent^ b
)
static let inline(<>)
a:ObjectEvent *
b:ObjectEvent : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- a
型別:Microsoft.SqlServer.Management.Smo.ObjectEvent
An ObjectEvent object that specifies the database events.
- b
型別:Microsoft.SqlServer.Management.Smo.ObjectEvent
An ObjectEvent object that specifies the database events.
傳回值
型別:System.Boolean
An ObjectEventSet object value that specifies a set of object events.