다음을 통해 공유


Remove 메서드

Removes an event from the event set.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Function Remove ( _
    anEvent As ServerTraceEvent _
) As ServerTraceEventSet
‘사용 방법
Dim instance As ServerTraceEventSet
Dim anEvent As ServerTraceEvent
Dim returnValue As ServerTraceEventSet

returnValue = instance.Remove(anEvent)
public ServerTraceEventSet Remove(
    ServerTraceEvent anEvent
)
public:
ServerTraceEventSet^ Remove(
    ServerTraceEvent^ anEvent
)
member Remove : 
        anEvent:ServerTraceEvent -> ServerTraceEventSet 
public function Remove(
    anEvent : ServerTraceEvent
) : ServerTraceEventSet

매개 변수

반환 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEventSet
A ServerTraceEventSet object that represents the server trace event set.

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.