TableEventSet.Subtraction 運算子
Creates a table event set by performing a subtraction operation on a TableEvent object and a TableEventSet object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Operator - ( _
eventSet As TableEventSet, _
anEvent As TableEvent _
) As TableEventSet
'用途
Dim eventSet As TableEventSet
Dim anEvent As TableEvent
Dim returnValue As TableEventSet
returnValue = (eventSet - anEvent)
public static TableEventSet operator -(
TableEventSet eventSet,
TableEvent anEvent
)
public:
static TableEventSet^ operator -(
TableEventSet^ eventSet,
TableEvent^ anEvent
)
static let inline(-)
eventSet:TableEventSet *
anEvent:TableEvent : TableEventSet
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- eventSet
型別:Microsoft.SqlServer.Management.Smo.TableEventSet
A TableEventSet object that specifies the table event set.
- anEvent
型別:Microsoft.SqlServer.Management.Smo.TableEvent
A TableEvent object that specifies the table events.
傳回值
型別:Microsoft.SqlServer.Management.Smo.TableEventSet
A TableEventSet object value that specifies a set of table events.