Partager via


FindByName méthode

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function FindByName ( _
    name As String _
) As Aggregation
'Utilisation
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

Paramètres

Valeur de retour

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