다음을 통해 공유


ServiceQueueEvent.Add 메서드

Returns a Service Broker queue event set that is created by adding two specified events together.

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

구문

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

returnValue = ServiceQueueEvent.Add(eventLeft, _
    eventRight)
public static ServiceQueueEventSet Add(
    ServiceQueueEvent eventLeft,
    ServiceQueueEvent eventRight
)
public:
static ServiceQueueEventSet^ Add(
    ServiceQueueEvent^ eventLeft, 
    ServiceQueueEvent^ eventRight
)
static member Add : 
        eventLeft:ServiceQueueEvent * 
        eventRight:ServiceQueueEvent -> ServiceQueueEventSet
public static function Add(
    eventLeft : ServiceQueueEvent, 
    eventRight : ServiceQueueEvent
) : ServiceQueueEventSet

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of Service Broker queue events.

SMO 이벤트 처리

참고 항목

참조

ServiceQueueEvent 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스