Remove 方法 (TraceEvent)

Removes the specified TraceEvent from the collection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Sub Remove ( _
    item As TraceEvent _
)
用法
Dim instance As TraceEventCollection
Dim item As TraceEvent

instance.Remove(item)
public void Remove(
    TraceEvent item
)
public:
void Remove(
    TraceEvent^ item
)
member Remove : 
        item:TraceEvent -> unit 
public function Remove(
    item : TraceEvent
)

参数

异常

异常 条件
ItemNotFoundException

item does not exist in the collection.