共用方式為


AggregationDimensionCollection.Remove 方法 (String)

Removes the AggregationDimension, with the specified identifier, from the collection.

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

語法

'宣告
Public Sub Remove ( _
    cubeDimensionId As String _
)
'用途
Dim instance As AggregationDimensionCollection 
Dim cubeDimensionId As String

instance.Remove(cubeDimensionId)
public void Remove(
    string cubeDimensionId
)
public:
void Remove(
    String^ cubeDimensionId
)
member Remove : 
        cubeDimensionId:string -> unit
public function Remove(
    cubeDimensionId : String
)

參數

例外狀況

例外狀況 條件
ItemNotFoundException

cubeDimensionID is not contained by the collection.

請參閱

參考

AggregationDimensionCollection 類別

Remove 多載

Microsoft.AnalysisServices 命名空間