Share via


CalculationProperty Constructor (String, CalculationType)

Initializes a new instance of CalculationProperty using a calculation reference and a type parameter.

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

Syntax

'Declaration
Public Sub New ( _
    calculationReference As String, _
    type As CalculationType _
)
'Usage
Dim calculationReference As String 
Dim type As CalculationType 

Dim instance As New CalculationProperty(calculationReference, _
    type)
public CalculationProperty(
    string calculationReference,
    CalculationType type
)
public:
CalculationProperty(
    String^ calculationReference, 
    CalculationType type
)
new : 
        calculationReference:string * 
        type:CalculationType -> CalculationProperty
public function CalculationProperty(
    calculationReference : String, 
    type : CalculationType
)

Parameters

  • calculationReference
    Type: System.String
    Points to the name of the calculation defined in the MDX script object.

See Also

Reference

CalculationProperty Class

CalculationProperty Overload

Microsoft.AnalysisServices Namespace