다음을 통해 공유


Add 메서드 (ServiceQueueEventSet, ServiceQueueEvent)

Returns a Service Broker queue event set after adding a new queue event to the specified set.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet that represents the event set after the new event is added.