ServerTraceEventSet.Subtract(ServerTraceEventSet, ServerTraceEvent) ServerTraceEventSet.Subtract(ServerTraceEventSet, ServerTraceEvent) ServerTraceEventSet.Subtract(ServerTraceEventSet, ServerTraceEvent) Method

정의

기존 이벤트 집합에서 추적 이벤트를 뺀 후 추적 이벤트 집합을 반환합니다. Returns a trace event set after subtracting a trace event from an existing event set.

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

A ServerTraceEventSet 서버 추적 이벤트 집합을 지정 하는 개체입니다. A ServerTraceEventSet object that specifies the server trace event set.

anEvent
ServerTraceEvent ServerTraceEvent ServerTraceEvent

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

반환

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

예제

SMO 이벤트 처리Handling SMO Events

설명

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

적용 대상