다음을 통해 공유


Addition 연산자

Creates a service queue event set by performing an addition operation on two ServiceQueueEvent objects.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Shared Operator + ( _
    eventLeft As ServiceQueueEvent, _
    eventRight As ServiceQueueEvent _
) As ServiceQueueEventSet
‘사용 방법
Dim eventLeft As ServiceQueueEvent
Dim eventRight As ServiceQueueEvent
Dim returnValue As ServiceQueueEventSet

returnValue = (eventLeft + eventRight)
public static ServiceQueueEventSet operator +(
    ServiceQueueEvent eventLeft,
    ServiceQueueEvent eventRight
)
public:
static ServiceQueueEventSet^ operator +(
    ServiceQueueEvent^ eventLeft, 
    ServiceQueueEvent^ eventRight
)
static let inline (+)
        eventLeft:ServiceQueueEvent * 
        eventRight:ServiceQueueEvent  : ServiceQueueEventSet
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of service queue events.