Metodo AdomdParameterCollection.IndexOf (String)

Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Function IndexOf ( _
    parameterName As String _
) As Integer
'Utilizzo
Dim instance As AdomdParameterCollection 
Dim parameterName As String 
Dim returnValue As Integer 

returnValue = instance.IndexOf(parameterName)
public int IndexOf(
    string parameterName
)
public:
virtual int IndexOf(
    String^ parameterName
) sealed
abstract IndexOf : 
        parameterName:string -> int  
override IndexOf : 
        parameterName:string -> int
public final function IndexOf(
    parameterName : String
) : int

Parametri

Valore restituito

Tipo: System.Int32
The index of value if found in the list, -1 otherwise.

Implementa

IDataParameterCollection.IndexOf(String)

Vedere anche

Riferimento

AdomdParameterCollection Classe

Overload IndexOf

Spazio dei nomi Microsoft.AnalysisServices.AdomdClient