Partager via


GetByName méthode

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

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

Syntaxe

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

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

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices. . :: . .AggregationInstance
The AggregationInstance with the name specified in name.

Exceptions

Exception Condition
ItemNotFoundException

name is not contained by the collection.