Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MeasureCollection.Find Method

Returns the specified Measure from the collection.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
public Measure Find(
	string index


Type: System.String
The name of the Measure to find.

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.Measure
The Measure with the specified name if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

The Find method returns null if the object is not found, while the Item property throws an exception if the object is not found.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.