CalculationPropertyCollection.Add Method (String)

Creates and adds a CalculationProperty with the specified identifier to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    calculationReference As String _
) As CalculationProperty
'Usage
Dim instance As CalculationPropertyCollection 
Dim calculationReference As String 
Dim returnValue As CalculationProperty 

returnValue = instance.Add(calculationReference)
public CalculationProperty Add(
    string calculationReference
)
public:
CalculationProperty^ Add(
    String^ calculationReference
)
member Add : 
        calculationReference:string -> CalculationProperty
public function Add(
    calculationReference : String
) : CalculationProperty

Parameters

Return Value

Type: Microsoft.AnalysisServices.CalculationProperty
The zero-based index at which the CalculationProperty has been added.

See Also

Reference

CalculationPropertyCollection Class

Add Overload

Microsoft.AnalysisServices Namespace