Share via


RestoreFolderCollection.IndexOf(RestoreFolder) Method

Definition

Searches for the specified RestoreFolder and returns its zero-based index within the collection.

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

Parameters

item
RestoreFolder

The RestoreFolder to locate.

Returns

The zero-based index of the RestoreFolder in the collection, if found; otherwise, -1.

Applies to