GetSummaryDuration method

Returns a summary duration value for a project.

Syntax


C++
HRESULT GetSummaryDuration(
   ERUProjectSummaryType ByType,
   VARIANT ByValue,
   
VARIANT* pSummaryDuration)
Scripting languages
SummaryDuration = Object.GetSummaryDuration(
   ByType as ERUProjectSummaryType,
   ByValue as Variant)

Parameters


ByType

Determines the summary scope, as an ERUProjectSummaryType enumeration.

ByValue

The summary is returned by this value. This parameter is ignored if the ByType parameter is set to erProjectSummaryAll. If the ByType parameter is set to erProjectSummaryMember, then the ByValue parameter should be an IERUMember interface. If the ByType parameter is set to erProjectSummaryCategory, then the ByValue parameter should contain a category string.

pSummaryDuration

The summary value.

Return value


C++

The return code.

Scripting languages

The summary value.

Home

Applies to

IERUProjectSchedule