ServiceQueueEventSet.Add ServiceQueueEventSet.Add ServiceQueueEventSet.Add Method

정의

Service Broker 큐 이벤트 집합에 새 큐 이벤트를 추가한 후 집합을 반환 합니다. Returns a Service Broker queue event set after adding a new queue event to the set.

오버로드

Add(ServiceQueueEvent) Add(ServiceQueueEvent) Add(ServiceQueueEvent)

참조 된 집합에 새 큐 이벤트를 추가한 후 설정 하는 Service Broker 큐 이벤트를 반환 합니다. Returns a Service Broker queue event set after adding a new queue event to the referenced set.

Add(ServiceQueueEventSet, ServiceQueueEvent) Add(ServiceQueueEventSet, ServiceQueueEvent) Add(ServiceQueueEventSet, ServiceQueueEvent)

지정한 집합에 새 큐 이벤트를 추가한 후에 설정 하는 Service Broker 큐 이벤트를 반환 합니다. Returns a Service Broker queue event set after adding a new queue event to the specified set.

예제

SMO 이벤트 처리Handling SMO Events

Add(ServiceQueueEvent) Add(ServiceQueueEvent) Add(ServiceQueueEvent)

참조 된 집합에 새 큐 이벤트를 추가한 후 설정 하는 Service Broker 큐 이벤트를 반환 합니다. Returns a Service Broker queue event set after adding a new queue event to the referenced set.

public:
 Microsoft::SqlServer::Management::Smo::ServiceQueueEventSet ^ Add(Microsoft::SqlServer::Management::Smo::ServiceQueueEvent ^ anEvent);
public Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet Add (Microsoft.SqlServer.Management.Smo.ServiceQueueEvent anEvent);
Public Function Add (anEvent As ServiceQueueEvent) As ServiceQueueEventSet
매개 변수
anEvent
ServiceQueueEvent ServiceQueueEvent ServiceQueueEvent

A ServiceQueueEvent 이벤트를 지정 하는 개체입니다. A ServiceQueueEvent object that specifies the event.

반환

A ServiceQueueEventSet 이벤트 집합을 나타내는입니다. A ServiceQueueEventSet that represents the event set.

예제

SMO 이벤트 처리Handling SMO Events

Add(ServiceQueueEventSet, ServiceQueueEvent) Add(ServiceQueueEventSet, ServiceQueueEvent) Add(ServiceQueueEventSet, ServiceQueueEvent)

지정한 집합에 새 큐 이벤트를 추가한 후에 설정 하는 Service Broker 큐 이벤트를 반환 합니다. Returns a Service Broker queue event set after adding a new queue event to the specified set.

public:
 static Microsoft::SqlServer::Management::Smo::ServiceQueueEventSet ^ Add(Microsoft::SqlServer::Management::Smo::ServiceQueueEventSet ^ eventSet, Microsoft::SqlServer::Management::Smo::ServiceQueueEvent ^ anEvent);
public static Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet Add (Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet eventSet, Microsoft.SqlServer.Management.Smo.ServiceQueueEvent anEvent);
Public Shared Function Add (eventSet As ServiceQueueEventSet, anEvent As ServiceQueueEvent) As ServiceQueueEventSet
매개 변수
eventSet
ServiceQueueEventSet ServiceQueueEventSet ServiceQueueEventSet

A ServiceQueueEventSet 개체 이벤트를 지정 하는 이벤트를 추가할로 설정 합니다. A ServiceQueueEventSet object that specifies the event set to which the event is added.

anEvent
ServiceQueueEvent ServiceQueueEvent ServiceQueueEvent

A ServiceQueueEvent 이벤트 집합에 추가 하는 이벤트를 지정 하는 개체입니다. A ServiceQueueEvent object that specifies the event that is added to the event set.

반환

A ServiceQueueEventSet 새 이벤트를 추가한 후 설정 하는 이벤트를 나타내는입니다. A ServiceQueueEventSet that represents the event set after the new event is added.

예제

SMO 이벤트 처리Handling SMO Events

적용 대상