共用方式為


Addition 運算子

Creates a database event set by performing an addition operation on a DatabaseEvent object and a DatabaseEventSet object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared Operator + ( _
    eventSet As DatabaseEventSet, _
    anEvent As DatabaseEvent _
) As DatabaseEventSet
'用途
Dim eventSet As DatabaseEventSet
Dim anEvent As DatabaseEvent
Dim returnValue As DatabaseEventSet

returnValue = (eventSet + anEvent)
public static DatabaseEventSet operator +(
    DatabaseEventSet eventSet,
    DatabaseEvent anEvent
)
public:
static DatabaseEventSet^ operator +(
    DatabaseEventSet^ eventSet, 
    DatabaseEvent^ anEvent
)
static let inline (+)
        eventSet:DatabaseEventSet * 
        anEvent:DatabaseEvent  : DatabaseEventSet
JScript 支援多載運算子的使用,但不支援新運算子的宣告。

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEventSet object value that specifies a set of database events.