IndexOf méthode (DataSourceView)
Gets the index of a specified DataSourceView.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As DataSourceView _
) As Integer
'Utilisation
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
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .DataSourceView
The DataSourceView to be returned.
Valeur de retour
Type : System. . :: . .Int32
The zero-based index of the DataSourceView if the object is found; otherwise, -1.