ServiceQueueEventSet.Subtract 메서드
Returns a Service Broker queue event set after subtracting a queue event from the specified set.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Shared Function Subtract ( _
eventSet As ServiceQueueEventSet, _
anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
‘사용 방법
Dim eventSet As ServiceQueueEventSet
Dim anEvent As ServiceQueueEvent
Dim returnValue As ServiceQueueEventSet
returnValue = ServiceQueueEventSet.Subtract(eventSet, _
anEvent)
public static ServiceQueueEventSet Subtract(
ServiceQueueEventSet eventSet,
ServiceQueueEvent anEvent
)
public:
static ServiceQueueEventSet^ Subtract(
ServiceQueueEventSet^ eventSet,
ServiceQueueEvent^ anEvent
)
static member Subtract :
eventSet:ServiceQueueEventSet *
anEvent:ServiceQueueEvent -> ServiceQueueEventSet
public static function Subtract(
eventSet : ServiceQueueEventSet,
anEvent : ServiceQueueEvent
) : ServiceQueueEventSet
매개 변수
- eventSet
유형: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object that specifies the event set from which the event is subtracted.
- anEvent
유형: Microsoft.SqlServer.Management.Smo.ServiceQueueEvent
A ServiceQueueEvent object that specifies the service queue event to subtract from the event set.
반환 값
유형: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of Service Broker queue events after the event is subtracted.