ServerTraceEventSet.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
參數
- anEvent
型別:Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that specifies the event.
傳回值
型別:Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A ServerTraceEventSet object that represents the server trace event set.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間