UserDefinedFunctionEvent.Addition 運算子
Creates a user-defined function event set by performing an addition operation on two UserDefinedFunctionEvent objects.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Operator + ( _
eventLeft As UserDefinedFunctionEvent, _
eventRight As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'用途
Dim eventLeft As UserDefinedFunctionEvent
Dim eventRight As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet
returnValue = (eventLeft + eventRight)
public static UserDefinedFunctionEventSet operator +(
UserDefinedFunctionEvent eventLeft,
UserDefinedFunctionEvent eventRight
)
public:
static UserDefinedFunctionEventSet^ operator +(
UserDefinedFunctionEvent^ eventLeft,
UserDefinedFunctionEvent^ eventRight
)
static let inline(+)
eventLeft:UserDefinedFunctionEvent *
eventRight:UserDefinedFunctionEvent : UserDefinedFunctionEventSet
JScript 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- eventLeft
型別:Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEvent
A UserDefinedFunctionEvent object that specifies the user-defined function events.
- eventRight
型別: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.