次の方法で共有


RestoreLocationCollection.Insert(Int32, RestoreLocation) メソッド

定義

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

public void Insert (int index, Microsoft.AnalysisServices.RestoreLocation item);
member this.Insert : int * Microsoft.AnalysisServices.RestoreLocation -> unit
Public Sub Insert (index As Integer, item As RestoreLocation)

パラメーター

index
Int32

RestoreLocation の挿入先である、0 から始まるインデックスです。

item
RestoreLocation

挿入する RestoreLocation です。

例外

指定したインデックスが有効な値ではありません (0 未満または要素の合計数より大きい)。

指定したアイテムは null 参照 (Visual Basic では Nothing) です。

指定したアイテムはコレクション内に既に存在しています。

適用対象