Share via


AdomdParameterCollection.IndexOf Method (AdomdParameter)

Returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.

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

Syntax

'Declaration
Public Function IndexOf ( _
     As AdomdParameter _
) As Integer
public int IndexOf (
    AdomdParameter 
)
public:
virtual int IndexOf (
    AdomdParameter^ 
) sealed
public final int IndexOf (
    AdomdParameter 
)
public final function IndexOf (
     : AdomdParameter
) : int

Parameters

Return Value

The index of value if found in the list. Otherwise, it returns -1.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdParameterCollection Class
AdomdParameterCollection Members
Microsoft.AnalysisServices.AdomdServer Namespace