次の方法で共有


AggregationDimensionCollection.Insert メソッド (Int32, String)

指定した識別子の AggregationDimension を作成し、コレクション内の指定したインデックスに挿入します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Function Insert ( _
    index As Integer, _
    cubeDimensionId As String _
) As AggregationDimension
'使用
Dim instance As AggregationDimensionCollection 
Dim index As Integer 
Dim cubeDimensionId As String 
Dim returnValue As AggregationDimension 

returnValue = instance.Insert(index, cubeDimensionId)
public AggregationDimension Insert(
    int index,
    string cubeDimensionId
)
public:
AggregationDimension^ Insert(
    int index, 
    String^ cubeDimensionId
)
member Insert : 
        index:int * 
        cubeDimensionId:string -> AggregationDimension
public function Insert(
    index : int, 
    cubeDimensionId : String
) : AggregationDimension

パラメーター

戻り値

型: Microsoft.AnalysisServices.AggregationDimension
新しく作成された AggregationDimension です。

例外

例外 条件
ArgumentOutOfRangeException

index に 0 より小さい値が指定されています。

- または -

index に [H:Microsoft.AnalysisServices.ModelComponentCollection.Count] 以上の値が指定されています。

関連項目

参照

AggregationDimensionCollection クラス

Insert オーバーロード

Microsoft.AnalysisServices 名前空間