ModelComponentCollection.IndexOf Method (IModelComponent)
SQL Server 2012
Searches for the specified item and returns its zero-based index within the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Parameters
- item
- Type: Microsoft.AnalysisServices.IModelComponent
The item to locate.
Return Value
Type: System.Int32The zero-based index of the item in the collection, if found; otherwise, -1.
