PerspectiveCalculation Constructor (String, PerspectiveCalculationType)
Initializes a new instance of PerspectiveCalculation using a name and type.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
type As PerspectiveCalculationType _
)
'Usage
Dim name As String
Dim type As PerspectiveCalculationType
Dim instance As New PerspectiveCalculation(name, type)
public PerspectiveCalculation(
string name,
PerspectiveCalculationType type
)
public:
PerspectiveCalculation(
String^ name,
PerspectiveCalculationType type
)
new :
name:string *
type:PerspectiveCalculationType -> PerspectiveCalculation
public function PerspectiveCalculation(
name : String,
type : PerspectiveCalculationType
)
Parameters
- name
Type: System.String
The name of the PerspectiveCalculation.
- type
Type: Microsoft.AnalysisServices.PerspectiveCalculationType
The type of perspective calculation.