CreateProjectSchedule method

Creates a project schedule item.

Syntax


C++
HRESULT CreateProjectSchedule( 
   BSTR
Name,
   BSTR
Description,
   ERUTextFormat
DescriptionFormat,
   LONG
CreateOptions,
   
IERUItem** ppProjectSchedule)
Scripting languages
Set ProjectSchedule = Object.CreateProjectSchedule(
   Name as String,
   
Description as String,
   DescriptionFormat as ERUTextFormat,
   
CreateOptions as LONG)

Parameters


Name

The name of the project schedule you want to create.

Description

A description of the project schedule you want to create.

DescriptionFormat

A value from the ERUTextFormat enumeration for the format you want to use for the description.

CreateOptions

One or more values from the ERUCreateOption enumeration, logically OR'ed together. This parameter is optional.

ppProjectSchedule

Upon return, an IERUItem interface pointer to the newly-created project schedule.

Return value


C++

The return code.

Scripting languages

Upon return, an IERUItem interface pointer to the newly-created project schedule.

 

Home

Applies to

IERUContainer