Metoda AggregationDesignCollection.GetByName
Pobiera AggregationDesign, o podanej nazwie z kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function GetByName ( _
name As String _
) As AggregationDesign
'Użycie
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
Parametry
- name
Typ: System.String
Nazwa AggregationDesign mają być zwrócone.
Wartość zwracana
Typ: Microsoft.AnalysisServices.AggregationDesign
AggregationDesign , Jeśli zawarte kolekcja.
Wyjątki
| Wyjątek | Warunek |
|---|---|
| ItemNotFoundException | namenie jest zawarty kolekcja. |