Compartilhar via


Método FindByName

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

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

Sintaxe

'Declaração
Public Function FindByName ( _
    name As String _
) As CubeDimension
'Uso
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

Parâmetros

Valor de retorno

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