共用方式為


Addition 運算子

Creates a user-defined function event set by performing an addition 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 支援多載運算子的使用,但不支援新運算子的宣告。

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object value that specifies a set of user-defined function events.