AggregationAttributeCollection.Item Propiedad (String)
Gets the AggregationAttribute, with the specified identifier, from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
attributeId As String _
) As AggregationAttribute
Get
'Uso
Dim instance As AggregationAttributeCollection
Dim attributeId As String
Dim value As AggregationAttribute
value = instance(attributeId)
public AggregationAttribute this[
string attributeId
] { get; }
public:
property AggregationAttribute^ default[String^ attributeId] {
AggregationAttribute^ get (String^ attributeId);
}
member Item : AggregationAttribute
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- attributeId
Tipo: System.String
The attribute identifier of the AggregationAttribute to be returned.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.AggregationAttribute
The AggregationAttribute specified by the identifier.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | attributeID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeID does not exist in the collection. |