Partilhar via


Método FindByName

Gets the Aggregation, 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 Aggregation
'Uso
Dim instance As AggregationCollection
Dim name As String
Dim returnValue As Aggregation

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

Parâmetros

Valor de retorno

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