次の方法で共有


RestoreLocationCollection.Add(RestoreLocation) メソッド

定義

指定した RestoreLocation をコレクションの末尾に追加します。

public int Add (Microsoft.AnalysisServices.RestoreLocation item);
member this.Add : Microsoft.AnalysisServices.RestoreLocation -> int
Public Function Add (item As RestoreLocation) As Integer

パラメーター

item
RestoreLocation

追加する RestoreLocation です。

戻り値

RestoreLocation が追加されたコレクションの 0 から始まるインデックスです。

例外

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

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

適用対象