Dela via


AggregationInstanceDimensionCollection.Find Method

Gets the AggregationInstanceDimension, with the specified cubeDimensionId, from the collection.

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

Syntax

'Declaration
Public Function Find ( _
    cubeDimensionId As String _
) As AggregationInstanceDimension
'Usage
Dim instance As AggregationInstanceDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As AggregationInstanceDimension

returnValue = instance.Find(cubeDimensionId)
public AggregationInstanceDimension Find(
    string cubeDimensionId
)
public:
AggregationInstanceDimension^ Find(
    String^ cubeDimensionId
)
member Find : 
        cubeDimensionId:string -> AggregationInstanceDimension 
public function Find(
    cubeDimensionId : String
) : AggregationInstanceDimension

Parameters

Return Value

Type: Microsoft.AnalysisServices.AggregationInstanceDimension
The AggregationInstanceDimension if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).