Sdílet prostřednictvím


DataSourceViewCollection.IndexOf Method (DataSourceView)

Gets the index of a specified DataSourceView.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As DataSourceView _
) As Integer
'Usage
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

Parameters

Return Value

Type: System.Int32
The zero-based index of the DataSourceView if the object is found; otherwise, -1.

See Also

Reference

DataSourceViewCollection Class

IndexOf Overload

Microsoft.AnalysisServices Namespace