DimensionCollection.Find Method (String)

 

Updated: March 10, 2016

Gets the Dimension from the collection by its name.

Namespace:   Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

public Dimension Find(
	string index
)

Parameters

index
Type: System.String

The name of the Dimensions to find.

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.Dimension

The Dimension if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

If the object is not found, the Find method returns null, whereas the Item property throws an exception.

Return to top
Show: