共用方式為


ModelComponentCollection.RemoveAt 方法 (Int32, Boolean)

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Removes the IModelComponent at the specified index from the ModelComponentCollection.

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

語法

'宣告
Public Sub RemoveAt ( _
    index As Integer, _
    cleanUp As Boolean _
)
'用途
Dim instance As ModelComponentCollection 
Dim index As Integer 
Dim cleanUp As Boolean

instance.RemoveAt(index, cleanUp)
public void RemoveAt(
    int index,
    bool cleanUp
)
public:
void RemoveAt(
    int index, 
    bool cleanUp
)
member RemoveAt : 
        index:int * 
        cleanUp:bool -> unit
public function RemoveAt(
    index : int, 
    cleanUp : boolean
)

參數

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

請參閱

參考

ModelComponentCollection 類別

RemoveAt 多載

Microsoft.AnalysisServices 命名空間