ServiceQueueEventSet.Subtract(ServiceQueueEventSet, ServiceQueueEvent) ServiceQueueEventSet.Subtract(ServiceQueueEventSet, ServiceQueueEvent) ServiceQueueEventSet.Subtract(ServiceQueueEventSet, ServiceQueueEvent) Method

정의

지정된 된 집합에서 큐 이벤트를 뺀 후 설정 하는 Service Broker 큐 이벤트를 반환 합니다. Returns a Service Broker queue event set after subtracting a queue event from the specified set.

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

이벤트를 뺄 이벤트 집합을 지정하는 ServiceQueueEventSet 개체입니다. A ServiceQueueEventSet object that specifies the event set from which the event is subtracted.

anEvent
ServiceQueueEvent ServiceQueueEvent ServiceQueueEvent

A ServiceQueueEvent 이벤트 집합에서 뺄 서비스 큐 이벤트를 지정 하는 개체입니다. A ServiceQueueEvent object that specifies the service queue event to subtract from the event set.

반환

A ServiceQueueEventSet 개체 이벤트를 뺀 후 Service Broker 큐 이벤트 집합을 지정 하는 값입니다. A ServiceQueueEventSet object value that specifies a set of Service Broker queue events after the event is subtracted.

예제

SMO 이벤트 처리Handling SMO Events

적용 대상