다음을 통해 공유


ProjectDataSet.ProjectRow.PROJ_TYPE Property

Indicates the project type: regular, template, or proposal.

Namespace:  [Project Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Project.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Project.asmx?wsdl

Syntax

'Declaration
Public Property PROJ_TYPE As Integer
    Get
    Set
'Usage
Dim instance As ProjectDataSet.ProjectRow
Dim value As Integer

value = instance.PROJ_TYPE

instance.PROJ_TYPE = value
public int PROJ_TYPE { get; set; }

Property Value

Type: System.Int32

Remarks

The project type can be set only when creating a project or upgrading from a project proposal to a regular project. You cannot change the project type using methods such as QueueUpdateProject.

  • 0 = Regular project (default)

  • 1 = Template

  • 4 = Proposal

The Draft database or the Published database can contain projects with other PROJ_TYPE values, but they are for Project Server internal use. Projects of other types are not available to PSI calls.

See Also

Reference

ProjectDataSet.ProjectRow Class

ProjectDataSet.ProjectRow Members

Project Web Service