次の方法で共有


DimensionCollection.Insert Method (Int32, Dimension)

Dimension をコレクション内の指定したインデックスに挿入します。

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

構文

'宣言
Public Sub Insert ( _
    index As Integer, _
    item As Dimension _
)
public void Insert (
    int index,
    Dimension item
)
public:
void Insert (
    int index, 
    Dimension^ item
)
public void Insert (
    int index, 
    Dimension item
)
public function Insert (
    index : int, 
    item : Dimension
)

パラメータ

  • index
    新しい Dimension の挿入先である、0 から始まるインデックスです。
  • item
    挿入する Dimension です。

例外

例外の種類 条件
ArgumentOutOfRangeException

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

-または-

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

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

DimensionCollection Class
DimensionCollection Members
Microsoft.AnalysisServices Namespace