Export (0) Print
Expand All

MeasureCollection.Find Method

Returns the specified Measure from the collection.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public Measure Find(
	string name
)

Parameters

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

Return Value

Type: Microsoft.AnalysisServices.AdomdServer.Measure
The Measure with the specified name if found; otherwise, null.

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

Community Additions

Show:
© 2014 Microsoft