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