ServiceContractEvents.SubscribeToEvents ServiceContractEvents.SubscribeToEvents ServiceContractEvents.SubscribeToEvents Method

정의

받을 서비스 계약 이벤트를 지정합니다. Specifies the service contract events to receive.

오버로드

SubscribeToEvents(ObjectEventSet) SubscribeToEvents(ObjectEventSet) SubscribeToEvents(ObjectEventSet)

받을 서비스 계약 이벤트를 지정합니다. Specifies the service contract events to receive.

SubscribeToEvents(ObjectEventSet, ServerEventHandler) SubscribeToEvents(ObjectEventSet, ServerEventHandler) SubscribeToEvents(ObjectEventSet, ServerEventHandler)

받을 원격 서비스 계약 이벤트와 해당 이벤트를 처리하는 이벤트 처리기를 지정합니다. Specifies the service contract events to receive and the event handler that handles the events.

SubscribeToEvents(ObjectEventSet) SubscribeToEvents(ObjectEventSet) SubscribeToEvents(ObjectEventSet)

받을 서비스 계약 이벤트를 지정합니다. Specifies the service contract events to receive.

public:
 void SubscribeToEvents(Microsoft::SqlServer::Management::Smo::ObjectEventSet ^ events);
public void SubscribeToEvents (Microsoft.SqlServer.Management.Smo.ObjectEventSet events);
Public Sub SubscribeToEvents (events As ObjectEventSet)
매개 변수
events
ObjectEventSet ObjectEventSet ObjectEventSet

A ObjectEventSet 를 받을 이벤트 집합을 지정 하는 개체입니다. A ObjectEventSet object that specifies the set of events to receive.

예제

Readme_ServiceBrokerConfigurationReadme_ServiceBrokerConfiguration

설명

이벤트에 등록 된 이벤트 처리기에 전송 되는 ServerEvent 이벤트입니다.Events are sent to the event handlers that are registered with the ServerEvent event.

SubscribeToEvents(ObjectEventSet, ServerEventHandler) SubscribeToEvents(ObjectEventSet, ServerEventHandler) SubscribeToEvents(ObjectEventSet, ServerEventHandler)

받을 원격 서비스 계약 이벤트와 해당 이벤트를 처리하는 이벤트 처리기를 지정합니다. Specifies the service contract events to receive and the event handler that handles the events.

public:
 void SubscribeToEvents(Microsoft::SqlServer::Management::Smo::ObjectEventSet ^ events, Microsoft::SqlServer::Management::Smo::ServerEventHandler ^ eventHandler);
public void SubscribeToEvents (Microsoft.SqlServer.Management.Smo.ObjectEventSet events, Microsoft.SqlServer.Management.Smo.ServerEventHandler eventHandler);
Public Sub SubscribeToEvents (events As ObjectEventSet, eventHandler As ServerEventHandler)
매개 변수
events
ObjectEventSet ObjectEventSet ObjectEventSet

ObjectEventSet 받을 이벤트 집합을 지정 하는 개체입니다. An ObjectEventSet object that specifies the set of events to receive.

eventHandler
ServerEventHandler ServerEventHandler ServerEventHandler

A ServerEventHandler 수신 되는 이벤트를 처리 하는 개체입니다. A ServerEventHandler object that handles the events that are received.

예제

Readme_ServiceBrokerConfigurationReadme_ServiceBrokerConfiguration

적용 대상