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