Condividi tramite


AdomdRestrictionCollection.IndexOf Method

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

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

Sintassi

'Dichiarazione
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

Parametri

Valore restituito

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AdomdRestrictionCollection Class
AdomdRestrictionCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace