Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public Function IndexOf ( _
parameterName As String _
) As Integer
'Usage
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
Parameters
- parameterName
Type: System.String
The name of the AdomdParameter object to locate in the AdomdParameterCollection collection.
Return Value
Type: System.Int32
The index of value if found in the list, -1 otherwise.
Implements
IDataParameterCollection.IndexOf(String)