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)
Syntax
public int IndexOf(
RestoreLocation item
)
public:
int IndexOf(
RestoreLocation^ item
)
member IndexOf :
item:RestoreLocation -> int
Public Function IndexOf (
item As RestoreLocation
) As Integer
Parameters
item
Type: Microsoft.AnalysisServices.RestoreLocationThe RestoreLocation to return.
Return Value
Type: System.Int32
The zero-based index of the RestoreLocation if the object is found; otherwise, -1.
See Also
RestoreLocationCollection Class
Microsoft.AnalysisServices Namespace
Return to top