Share via


CubeCollection.Find Method

Gets the specified CubeDef from the collection by its name.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public Function Find ( _
    index As String _
) As CubeDef
public CubeDef Find (
    string index
)
public:
CubeDef^ Find (
    String^ index
)
public CubeDef Find (
    String index
)
public function Find (
    index : String
) : CubeDef

Parameters

  • index
    The name of the CubeDef to find.

Remarks

The Find method returns null if the object is not found, whereas 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

CubeCollection Class
CubeCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace