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