CalculationPropertyCollection.Item Property (String)

Gets the CalculationProperty with the specified identifier from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    calculationReference As String _
) As CalculationProperty 
    Get
'Usage
Dim instance As CalculationPropertyCollection 
Dim calculationReference As String 
Dim value As CalculationProperty 

value = instance(calculationReference)
public CalculationProperty this[
    string calculationReference
] { get; }
public:
property CalculationProperty^ default[String^ calculationReference] {
    CalculationProperty^ get (String^ calculationReference);
}
member Item : CalculationProperty
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.CalculationProperty
The CalculationProperty specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

calculationReference does not exist in the collection.

See Also

Reference

CalculationPropertyCollection Class

Item Overload

Microsoft.AnalysisServices Namespace