Propriété PerspectiveCalculationCollection.Item (String)
Gets the PerspectiveCalculation that has the specified identifier from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As PerspectiveCalculation
Get
'Utilisation
Dim instance As PerspectiveCalculationCollection
Dim name As String
Dim value As PerspectiveCalculation
value = instance(name)
public PerspectiveCalculation this[
string name
] { get; }
public:
property PerspectiveCalculation^ default[String^ name] {
PerspectiveCalculation^ get (String^ name);
}
member Item : PerspectiveCalculation
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System.String
The identifier of the PerspectiveCalculation to return.
Valeur de propriété
Type : Microsoft.AnalysisServices.PerspectiveCalculation
A PerspectiveCalculation specified by the identifier.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |