UserDefinedFunctionEventSet.Subtraction 运算符
Creates a user-defined function event set by performing a subtraction operation on a UserDefinedFunctionEvent object and a UserDefinedFunctionEventSet object.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Operator - ( _
eventSet As UserDefinedFunctionEventSet, _
anEvent As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
用法
Dim eventSet As UserDefinedFunctionEventSet
Dim anEvent As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet
returnValue = (eventSet - anEvent)
public static UserDefinedFunctionEventSet operator -(
UserDefinedFunctionEventSet eventSet,
UserDefinedFunctionEvent anEvent
)
public:
static UserDefinedFunctionEventSet^ operator -(
UserDefinedFunctionEventSet^ eventSet,
UserDefinedFunctionEvent^ anEvent
)
static let inline(-)
eventSet:UserDefinedFunctionEventSet *
anEvent:UserDefinedFunctionEvent : UserDefinedFunctionEventSet
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- eventSet
类型:Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that specifies the user-defined function event set.
- anEvent
类型:Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEvent
A UserDefinedFunctionEvent object that specifies the user-defined function events.
返回值
类型:Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object value that specifies a set of user-defined function events.