Jaa


AdomdRestrictionCollection.IndexOf Method

Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    value As AdomdRestriction _
) As Integer
public int IndexOf (
    AdomdRestriction value
)
public:
int IndexOf (
    AdomdRestriction^ value
)
public int IndexOf (
    AdomdRestriction value
)
public function IndexOf (
    value : AdomdRestriction
) : int

Parameters

Return Value

The index of value if found in the list; -1 otherwise.

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

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace