Item-Eigenschaft (String)
Gets the AggregationInstance, with the specified identifier, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
id As String _
) As AggregationInstance
Get
'Usage
Dim instance As AggregationInstanceCollection
Dim id As String
Dim value As AggregationInstance
value = instance(id)
public AggregationInstance this[
string id
] { get; }
public:
property AggregationInstance^ default[String^ id] {
AggregationInstance^ get (String^ id);
}
member Item : AggregationInstance
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- id
Typ: System. . :: . .String
The identifier of the AggregationInstance to be returned.
Eigenschaftenwert
Typ: Microsoft.AnalysisServices. . :: . .AggregationInstance
The AggregationInstance specified by the identifier.
Ausnahmen
| Ausnahme | Bedingung |
|---|---|
| ArgumentNullException | id is a null reference (Nothing in Visual Basic). |
| ItemNotFoundException | id does not exist in the collection. |