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 命名空间