Метод IndexOf (DataSourceView)
Gets the index of a specified DataSourceView.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function IndexOf ( _
item As DataSourceView _
) As Integer
'Применение
Dim instance As DataSourceViewCollection
Dim item As DataSourceView
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
DataSourceView item
)
public:
int IndexOf(
DataSourceView^ item
)
member IndexOf :
item:DataSourceView -> int
public function IndexOf(
item : DataSourceView
) : int
Параметры
- item
Тип Microsoft.AnalysisServices. . :: . .DataSourceView
The DataSourceView to be returned.
Возвращаемое значение
Тип System. . :: . .Int32
The zero-based index of the DataSourceView if the object is found; otherwise, -1.