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