Поделиться через


Метод IndexOf

Gets the index of a specified BackupLocation.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function IndexOf ( _
    item As BackupLocation _
) As Integer
'Применение
Dim instance As BackupLocationCollection
Dim item As BackupLocation
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    BackupLocation item
)
public:
int IndexOf(
    BackupLocation^ item
)
member IndexOf : 
        item:BackupLocation -> int 
public function IndexOf(
    item : BackupLocation
) : int

Параметры

Возвращаемое значение

Тип System. . :: . .Int32
The zero-based index of the BackupLocation if the object is found; otherwise, -1.