Share via


RestoreFolderCollection.IndexOf Method

Gets the index of a specified RestoreFolder.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

public int IndexOf(
    RestoreFolder item
)

Parameters

Return Value

Type: System.Int32
The zero-based index of the RestoreFolder if the object is found; otherwise, -1.