Share via


BackupLocationCollection.IndexOf(BackupLocation) Method

Definition

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

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

Parameters

item
BackupLocation

The BackupLocation to locate.

Returns

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

Applies to