Partager via


AdomdRestrictionCollection.IndexOf Method

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

Espace de noms: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace