CalculationProperty-Konstruktor (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
)
Parameter
- calculationReference
Typ: System.String
Points to the name of the calculation defined in the MDX script object.
- type
Typ: Microsoft.AnalysisServices.CalculationType
Specifies the type of MDX script calculation.