BackupLocationCollection.IndexOf Method (BackupLocation)

 

Applies To: SQL Server (starting with 2016)

Gets the index of a specified BackupLocation.

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

Syntax

public int IndexOf(
    BackupLocation item
)
public:
int IndexOf(
    BackupLocation^ item
)
member IndexOf : 
        item:BackupLocation -> int
Public Function IndexOf (
    item As BackupLocation
) As Integer

Parameters

Return Value

Type: System.Int32

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

See Also

BackupLocationCollection Class
Microsoft.AnalysisServices Namespace

Return to top