AdomdRestrictionCollection.IndexOf Method (AdomdRestriction)
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
public int IndexOf(
AdomdRestriction value
)
public:
int IndexOf(
AdomdRestriction^ value
)
member IndexOf :
value:AdomdRestriction -> int
Public Function IndexOf (
value As AdomdRestriction
) As Integer
Parameters
value
Type: Microsoft.AnalysisServices.AdomdClient.AdomdRestrictionThe AdomdRestriction to locate in the AdomdRestrictionCollection collection.
Return Value
Type: System.Int32
The index of value if found in the list; -1 otherwise.
See Also
AdomdRestrictionCollection Class
Microsoft.AnalysisServices.AdomdClient Namespace
Return to top