AggregationInstanceDimensionCollection.Insert Method (Int32, String)

指定した AggregationInstanceDimension を作成し、index で示されるコレクション内の位置に挿入します。

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

構文

'宣言
Public Function Insert ( _
    index As Integer, _
    cubeDimensionId As String _
) As AggregationInstanceDimension
public AggregationInstanceDimension Insert (
    int index,
    string cubeDimensionId
)
public:
AggregationInstanceDimension^ Insert (
    int index, 
    String^ cubeDimensionId
)
public AggregationInstanceDimension Insert (
    int index, 
    String cubeDimensionId
)
public function Insert (
    index : int, 
    cubeDimensionId : String
) : AggregationInstanceDimension

パラメータ

  • cubeDimensionId
    挿入する AggregationInstanceDimension を指定します。

戻り値

コレクションに挿入された AggregationInstanceDimension です。

例外

例外の種類 条件
ArgumentOutOfRangeException

次のいずれかのエラー メッセージが表示される場合があります。

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

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

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

AggregationInstanceDimensionCollection Class
AggregationInstanceDimensionCollection Members
Microsoft.AnalysisServices Namespace