Partilhar via


Construtor CalculationProperty (String, CalculationType)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    calculationReference As String, _
    type As CalculationType _
)
'Uso
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
)

Parâmetros

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