Sdílet prostřednictvím


PerspectiveCalculationCollection.Item Property (String)

Gets the PerspectiveCalculation that has the specified identifier from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As PerspectiveCalculation
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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.