Właściwość AggregationDesignCollection.Item (String)
Pobiera AggregationDesign, z określonym identyfikatorem, z kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public ReadOnly Default Property Item ( _
id As String _
) As AggregationDesign
Get
'Użycie
Dim instance As AggregationDesignCollection
Dim id As String
Dim value As AggregationDesign
value = instance(id)
public AggregationDesign this[
string id
] { get; }
public:
property AggregationDesign^ default[String^ id] {
AggregationDesign^ get (String^ id);
}
member Item : AggregationDesign
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.
Parametry
- id
Typ: System.String
Identyfikator AggregationDesign mają być zwrócone.
Wartość właściwości
Typ: Microsoft.AnalysisServices.AggregationDesign
AggregationDesign Określony przez identyfikator.
Wyjątki
| Wyjątek | Warunek |
|---|---|
| ArgumentNullException | idjest odwołaniem do wartości null (nic nie w języku Visual Basic). |
| ItemNotFoundException | idnie istnieje kolekcja. |
Zobacz także