DataSourceCollection.Insert メソッド (Int32)

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

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

構文

'宣言
Public Function Insert ( _
    index As Integer _
) As RelationalDataSource
'使用
Dim instance As DataSourceCollection 
Dim index As Integer 
Dim returnValue As RelationalDataSource 

returnValue = instance.Insert(index)
public RelationalDataSource Insert(
    int index
)
public:
RelationalDataSource^ Insert(
    int index
)
member Insert : 
        index:int -> RelationalDataSource
public function Insert(
    index : int
) : RelationalDataSource

パラメーター

  • index
    型: System.Int32
    新しい DataSource の挿入先である、0 から始まるインデックスです。

戻り値

型: Microsoft.AnalysisServices.RelationalDataSource
新しい、空の DataSource です。

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

関連項目

参照

DataSourceCollection クラス

Insert オーバーロード

Microsoft.AnalysisServices 名前空間