Compartilhar 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 _
)
public CalculationProperty (
    string calculationReference,
    CalculationType type
)
public:
CalculationProperty (
    String^ calculationReference, 
    CalculationType type
)
public CalculationProperty (
    String calculationReference, 
    CalculationType type
)
public function CalculationProperty (
    calculationReference : String, 
    type : CalculationType
)

Parameters

  • calculationReference
    Points to the name of the calculation defined in the MDX script object.
  • type
    Specifies the type of MDX script calculation.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CalculationProperty Class
CalculationProperty Members
Microsoft.AnalysisServices Namespace