Méthode GetByName

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

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

Syntaxe

'Déclaration
Public Function GetByName ( _
    name As String _
) As AggregationDesign
'Utilisation
Dim instance As AggregationDesignCollection
Dim name As String
Dim returnValue As AggregationDesign

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

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices. . :: . .AggregationDesign
The AggregationDesign, if contained in the collection.

Exceptions

Exception Condition
ItemNotFoundException

name is not contained by the collection.