ServiceQueueEvents.SubscribeToEvents 메서드 (ServiceQueueEventSet)

Specifies the service queue events to receive.

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

구문

‘선언
Public Sub SubscribeToEvents ( _
    events As ServiceQueueEventSet _
)
‘사용 방법
Dim instance As ServiceQueueEvents 
Dim events As ServiceQueueEventSet

instance.SubscribeToEvents(events)
public void SubscribeToEvents(
    ServiceQueueEventSet events
)
public:
void SubscribeToEvents(
    ServiceQueueEventSet^ events
)
member SubscribeToEvents : 
        events:ServiceQueueEventSet -> unit
public function SubscribeToEvents(
    events : ServiceQueueEventSet
)

매개 변수

주의

Events are sent to the event handlers that are registered with the ServerEvent event.

SMO 이벤트 처리

참고 항목

참조

ServiceQueueEvents 클래스

SubscribeToEvents 오버로드

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