Dela via


MDX.ParallelPeriod Method

Runs the Multidimensional Expressions (MDX) ParallelPeriod function.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Shared Function ParallelPeriod ( _
    ParamArray parameters As Object() _
) As Member
'Usage
Dim parameters As Object()
Dim returnValue As Member

returnValue = MDX.ParallelPeriod(parameters)
public static Member ParallelPeriod(
    params Object[] parameters
)
public:
static Member^ ParallelPeriod(
    ... array<Object^>^ parameters
)
static member ParallelPeriod : 
        parameters:Object[] -> Member 
public static function ParallelPeriod(
    ... parameters : Object[]
) : Member

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdServer.Member
A member that lies in a parallel period.

Remarks

params can be set to the values shown in the following table.

Parameter

Value

params[0]

(Optional) The level of the member to be returned. The default is the level of the parent of the member.

params[1]

(Optional) The number of members to lag the period. The default is 1.

params[2]

(Optional) The member from which to calculate the parallel period. If the level was not specified, the default for params[2] will be Time.CurrentMember. If the level was specified, the default for params[2] will be params[0].Dimension.CurrentMember.