Proprietà Item (String)

Gets the AggregationDesignDimension, with the specified identifier, from the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    cubeDimensionId As String _
) As AggregationDesignDimension
    Get
'Utilizzo
Dim instance As AggregationDesignDimensionCollection
Dim cubeDimensionId As String
Dim value As AggregationDesignDimension

value = instance(cubeDimensionId)
public AggregationDesignDimension this[
    string cubeDimensionId
] { get; }
public:
property AggregationDesignDimension^ default[String^ cubeDimensionId] {
    AggregationDesignDimension^ get (String^ cubeDimensionId);
}
member Item : AggregationDesignDimension
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.AnalysisServices. . :: . .AggregationDesignDimension
The AggregationDesignDimension specified by the identifier.

Eccezioni

Eccezione Condizione
ArgumentNullException

cubeDimensionID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

cubeDimensionID does not exist in the collection.