RestoreLocationCollection.IndexOf(RestoreLocation) 方法

定義

搜尋指定的 RestoreLocation,並傳回在集合內其以零為基底的索引。

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 在集合中以零起始的索引;否則為 -1。

適用於