Subtract 메서드
Returns a trace event set after subtracting a trace event from an existing event set.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Shared Function Subtract ( _
eventSet As ServerTraceEventSet, _
anEvent As ServerTraceEvent _
) As ServerTraceEventSet
‘사용 방법
Dim eventSet As ServerTraceEventSet
Dim anEvent As ServerTraceEvent
Dim returnValue As ServerTraceEventSet
returnValue = ServerTraceEventSet.Subtract(eventSet, _
anEvent)
public static ServerTraceEventSet Subtract(
ServerTraceEventSet eventSet,
ServerTraceEvent anEvent
)
public:
static ServerTraceEventSet^ Subtract(
ServerTraceEventSet^ eventSet,
ServerTraceEvent^ anEvent
)
static member Subtract :
eventSet:ServerTraceEventSet *
anEvent:ServerTraceEvent -> ServerTraceEventSet
public static function Subtract(
eventSet : ServerTraceEventSet,
anEvent : ServerTraceEvent
) : ServerTraceEventSet
매개 변수
- eventSet
형식: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEventSet
A ServerTraceEventSet object that specifies the server trace event set.
- anEvent
형식: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEvent
A ServerTraceEvent object that specifies the event.
반환 값
형식: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEventSet
A ServerTraceEventSet that represents the new event set.
주의
이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.