次の方法で共有


RestoreLocationCollection.IndexOf(RestoreLocation) メソッド

定義

指定した RestoreLocation を検索し、コレクション内で見つかったアイテムの 0 から始まるインデックスを返します。

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

パラメーター

item
RestoreLocation

検索する RestoreLocation

戻り値

コレクション内で見つかった場合は RestoreLocation の 0 から始まるインデックス、それ以外の場合は -1 です。

適用対象