TraceEventCollection.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
)
參數
- item
型別:Microsoft.AnalysisServices.TraceEvent
The TraceEvent to remove.
例外狀況
例外狀況 | 條件 |
---|---|
ItemNotFoundException | item does not exist in the collection. |