共用方式為


ModelComponentCollection.IModelComponentCollection.Remove 方法 (IModelComponent, Boolean)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Private Sub Remove ( _
    item As IModelComponent, _
    cleanUp As Boolean _
) Implements IModelComponentCollection.Remove
'用途
Dim instance As ModelComponentCollection 
Dim item As IModelComponent 
Dim cleanUp As Boolean 

CType(instance, IModelComponentCollection).Remove(item, _
    cleanUp)
void IModelComponentCollection.Remove(
    IModelComponent item,
    bool cleanUp
)
private:
virtual void Remove(
    IModelComponent^ item, 
    bool cleanUp
) sealed = IModelComponentCollection::Remove
private abstract Remove : 
        item:IModelComponent * 
        cleanUp:bool -> unit  
private override Remove : 
        item:IModelComponent * 
        cleanUp:bool -> unit
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

  • cleanUp
    型別:System.Boolean
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

實作

IModelComponentCollection.Remove(IModelComponent, Boolean)

請參閱

參考

ModelComponentCollection 類別

Remove 多載

Microsoft.AnalysisServices 命名空間