CubeDimensionCollection.FindByName Method

Gets the CubeDimension, with the specified name, from the collection.

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

Syntax

'Declaration
Public Function FindByName ( _
    name As String _
) As CubeDimension
'Usage
Dim instance As CubeDimensionCollection
Dim name As String
Dim returnValue As CubeDimension

returnValue = instance.FindByName(name)
public CubeDimension FindByName(
    string name
)
public:
CubeDimension^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> CubeDimension 
public function FindByName(
    name : String
) : CubeDimension

Parameters

Return Value

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