CalculationProperty 构造函数 (String, CalculationType)
Initializes a new instance of CalculationProperty using a calculation reference and a type parameter.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Sub New ( _
calculationReference As String, _
type As CalculationType _
)
用法
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
)
参数
- calculationReference
类型:System. . :: . .String
Points to the name of the calculation defined in the MDX script object.
- type
类型:Microsoft.AnalysisServices. . :: . .CalculationType
Specifies the type of MDX script calculation.