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