共用方式為


Remove 方法

Removes an event from the event set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
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 版支援此命名空間、類別或成員。