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