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 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

类型:Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events.