Share via


Type Property

Profile object: Returns whether the profile being used is for a local profile or for Project Server. Can be one of the following PjProfileType constants: pjLocalProfile or pjServerProfile. Read-only Long.

Project object: Returns or sets the project type of a project. Can be one of the following PjProjectType constants: pjProjectTypeEnterpriseCheckedOut, pjProjectTypeEnterpriseGlobalCheckedOut, pjProjectTypeEnterpriseGlobalInMemory, pjProjectTypeEnterpriseReadOnly, pjProjectTypeEnterpriseResourcesCheckedOut, pjProjectTypeEnterpriseGlobalLocal, pjProjectTypeNonEnterprise, or pjProjectTypeUnsaved. Read/write Long.

Resource object: Returns or sets the resource type of a resource. Can be one of the following PjResourceTypes constants: pjResourceTypeWork or pjResourceTypeMaterial. Read/write Long.

Task object: Returns or sets how the units, duration, and work on a task are calculated. Can be one of the following PjTaskFixedType constants: pjFixedUnits, pjFixedDuration, or pjFixedWork. Read/write Long.

TaskDependency object: Returns or sets the task dependency type. Can be one of the following PjTaskLinkType constants: pjFinishToFinish, pjFinishToStart, pjStartToFinish, or pjStartToStart. Read/write Long.

View object: Returns or sets the type of item in a view. Can be one of the following PjItemType constants: pjOtherItem, pjResourceItem, or pjTaskItem. Read/write Long.

Applies to | Profile Object, Profiles Collection Object | Project Object, Projects Collection Object | Resource Object, Resources Collection Object | Task Object, Tasks Collection Object | TaskDependency Object, TaskDependencies Collection Object | View Object, Views Collection Object | ViewCombination Object, ViewsCombination Collection Object | ViewSingle Object, ViewsSingle Collection Object

See Also | ConnectionState Property | OptionsSchedule Method