Compartilhar via


MeasureCollection.Find Method

Returns the specified Measure from the collection.

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

Syntax

'Declaration
Public Function Find ( _
    name As String _
) As Measure
public Measure Find (
    string name
)
public:
Measure^ Find (
    String^ name
)
public Measure Find (
    String name
)
public function Find (
    name : String
) : Measure

Parameters

  • name
    The name of the Measure to find.

Remarks

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

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MeasureCollection Class
MeasureCollection Members
Microsoft.AnalysisServices.AdomdServer Namespace