共用方式為


ParallelPeriod 方法

Runs the Multidimensional Expressions (MDX) ParallelPeriod function.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Shared Function ParallelPeriod ( _
    ParamArray parameters As Object() _
) As Member
'用途
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

參數

傳回值

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

備註

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.