RestoreLocationCollection.IndexOf Method (RestoreLocation)

 

Applies To: SQL Server (starting with 2016)

Gets the index of a specified RestoreLocation.

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

public int IndexOf(
	RestoreLocation item
)

Return Value

Type: System.Int32

The zero-based index of the RestoreLocation if the object is found; otherwise, -1.

Return to top
Show: