Project Web Service

The Project class is the primary class in the [Project Web service] namespace. The Project class includes methods that manage projects, project entities such as tasks, resources, and assignments, and impacts on projects for portfolio analyses.

Note

In the ASMX web service, Project is a class. In the WCF service, Project is an interface that is implemented in the ProjectClient class. For information about using the ProjectClient class in a WCF-based application, see the Project class constructor.

The [Project Web service] namespace is an arbitrary name for a reference to the Project.asmx web service (or the Project.svc service) of the PSI in Microsoft Project Server 2010. Project methods can check out, check in, create, delete, read, or update projects in the Drafts or Published databases. Many of the methods use the Project Server Queuing Service. Methods can create, update, or delete entities within projects (tasks, resources, assignments, and so forth). Methods can get information about or update the project team or project site address.

Use Project methods to:

  • Get project status.

  • Get a list of projects in the Drafts database.

  • Get a list of all projects in a department.

  • Get all summary tasks.

  • Get tasks available for assignment to a specified resource.

  • Get all projects where a resource has assignments.

  • Create a project proposal from a task list in Microsoft SharePoint Foundation 2010.

  • Synchronize a project with a SharePoint list.

  • Read project impacts from portfolio analyses.

  • Manage the project team.

  • Find relationships between projects and a master project.

Project methods typically use or return one of the following DataSet objects:

Classes

  Class Description
Public class Project Includes methods for managing projects and entities in projects such as tasks, resources, and assignments. Project class methods also manage deliverables, project proposals, and project or master project relationships.
Public class ProjectContextDataSet Contains a list of projects that are related to specified projects or resources.
Public class ProjectContextDataSet.RelationshipsDataTable Contains information about related projects.
Public class ProjectContextDataSet.RelationshipsRow Contains information about a related project.
Public class ProjectContextDataSet.RelationshipsRowChangeEvent Event that occurs when data in a RelationshipsRow is changed.
Public class ProjectDataSet Specifies the primary dataset that is used throughout the [Project Web service] web service.
Public class ProjectDataSet.AssignmentCustomFieldsDataTable Contains custom field values related to specific ProjectDataSet.AssignmentRow object rows.
Public class ProjectDataSet.AssignmentCustomFieldsRow Represents a custom field value for a specific ProjectDataSet.AssignmentRow row.
Public class ProjectDataSet.AssignmentCustomFieldsRowChangeEvent Event that occurs when data in a AssignmentCustomFieldsRow is changed.
Public class ProjectDataSet.AssignmentDataTable Represents the relationship between a resource and a task.
Public class ProjectDataSet.AssignmentRow Represents the relationship between a single resource and a single task within a project.
Public class ProjectDataSet.AssignmentRowChangeEvent Event that occurs when data in an AssignmentRow is changed.
Public class ProjectDataSet.DependencyDataTable Represents the dependency relationship between one task and another.
Public class ProjectDataSet.DependencyRow Represents the dependency relationship between one task and another.
Public class ProjectDataSet.DependencyRowChangeEvent Event that occurs when data in a DependencyRow is changed.
Public class ProjectDataSet.ProjectCustomFieldsDataTable Represents a custom field value for a project-level custom field.
Public class ProjectDataSet.ProjectCustomFieldsRow Represents a custom field value for a specific ProjectDataSet.ProjectRow row.
Public class ProjectDataSet.ProjectCustomFieldsRowChangeEvent Occurs when data in a ProjectDataSet.ProjectCustomFieldsRow is changed.
Public class ProjectDataSet.ProjectDataTable Represents project data values for ProjectDataSet.ProjectRow rows.
Public class ProjectDataSet.ProjectResourceCustomFieldsDataTable Represents a custom field value related to a specific project resource (ProjectDataSet.ProjectResourceRow).
Public class ProjectDataSet.ProjectResourceCustomFieldsRow Represents a custom field value related to a particular ProjectDataSet.ProjectResourceRow object.
Public class ProjectDataSet.ProjectResourceCustomFieldsRowChangeEvent Event that occurs when data in a ProjectResourceCustomFieldsRow is changed.
Public class ProjectDataSet.ProjectResourceDataTable Represents resources assigned to a particular project.
Public class ProjectDataSet.ProjectResourceRow Represents a local project resource or enterprise resource that can be used on this project.
Public class ProjectDataSet.ProjectResourceRowChangeEvent Event that occurs when data in a ProjectResourceRow is changed.
Public class ProjectDataSet.ProjectRow Contains the properties of one project in a ProjectDataTable row.
Public class ProjectDataSet.ProjectRowChangeEvent Event that occurs when data in a ProjectRow is changed.
Public class ProjectDataSet.TaskCustomFieldsDataTable Represents custom field values related to specific tasks (ProjectDataSet.TaskRow).
Public class ProjectDataSet.TaskCustomFieldsRow Represents a custom field value that is related to a particular ProjectDataSet.TaskRow object.
Public class ProjectDataSet.TaskCustomFieldsRowChangeEvent Event that occurs when data in a TaskCustomFieldsRow is changed.
Public class ProjectDataSet.TaskDataTable Represents the tasks that make up a project.
Public class ProjectDataSet.TaskRow Defines the properties, methods, and events of one task in a TaskDataTable.
Public class ProjectDataSet.TaskRowChangeEvent Event that occurs when data in a TaskRow is changed.
Public class ProjectImpactDataSet Represents information about project drivers and their effect on the impact of a project.
Public class ProjectImpactDataSet.DriversDataTable Contains project driver data in one or more ProjectImpactDataSet.DriversRow objects.
Public class ProjectImpactDataSet.DriversRow Contains information about one driver in the ProjectImpactDataSet.DriversDataTable.
Public class ProjectImpactDataSet.DriversRowChangeEvent Event that occurs when data in a DriversRow is changed.
Public class ProjectImpactDataSet.ImpactStatementsDataTable Contains project impact statement information in one or more ProjectImpactDataSet.ImpactStatementsRow objects.
Public class ProjectImpactDataSet.ImpactStatementsRow Contains information about a project's impact statements in a ProjectImpactDataSet.ImpactStatementsDataTable object.
Public class ProjectImpactDataSet.ImpactStatementsRowChangeEvent Event that occurs when data in an ImpactStatementsRow is changed.
Public class ProjectImpactDataSet.LookupTableValuesDataTable Contains project lookup values in one or more ProjectImpactDataSet.LookupTableValuesRow objects.
Public class ProjectImpactDataSet.LookupTableValuesRow Represents project lookup values as a row in the ProjectImpactDataSet.LookupTableValuesDataTable object.
Public class ProjectImpactDataSet.LookupTableValuesRowChangeEvent Event that occurs when data in a LookupTableValuesRow is changed.
Public class ProjectImpactDataSet.ProjectImpactValuesDataTable Represents information about project impact values that is contained in one or more ProjectImpactDataSet.ProjectImpactValuesRow objects.
Public class ProjectImpactDataSet.ProjectImpactValuesRow Represents the project impact values as a row in the ProjectImpactDataSet.ProjectImpactValuesDataTable object.
Public class ProjectImpactDataSet.ProjectImpactValuesRowChangeEvent Event that occurs when data in a ProjectImpactValuesRow is changed.
Public class ProjectRelationsDataSet Represents a set of master projects that contain one or more subprojects.
Public class ProjectRelationsDataSet.ProjectRelationsDataTable Contains a row for each conflicting project that has the specified project as a subproject.
Public class ProjectRelationsDataSet.ProjectRelationsRow Represents a master project that contains the specified project as a subproject.
Public class ProjectRelationsDataSet.ProjectRelationsRowChangeEvent Event that occurs when data in a ProjectRelationsRow is changed.
Public class ProjectTeamDataSet Represents the enterprise resource team members on a project.
Public class ProjectTeamDataSet.ProjectTeamDataTable Contains a row for each enterprise team member on the specified project.
Public class ProjectTeamDataSet.ProjectTeamRow Represents an enterprise resource team member on the specified project.
Public class ProjectTeamDataSet.ProjectTeamRowChangeEvent Event that occurs when data in a ProjectTeamRow is changed.
Public class SyncDataSet Represents information about projects that are synchronized with Microsoft SharePoint Server 2010 task lists.
Public class SyncDataSet.SyncFieldMappingsDataTable Represents information about synchronized field mappings that is contained in one or more SyncDataSet.SyncFieldMappingsRow objects.
Public class SyncDataSet.SyncFieldMappingsRow Represents synchronized field mapping information as a row in the SyncDataSet.SyncFieldMappingsDataTable object.
Public class SyncDataSet.SyncFieldMappingsRowChangeEvent Event that occurs when data in a SyncFieldMappingsRow is changed.
Public class SyncDataSet.SyncItemTaskMappingsDataTable Represents information about item synchronization mapping that is contained in one or more SyncDataSet.SyncItemTaskMappingsRow objects.
Public class SyncDataSet.SyncItemTaskMappingsRow Represents task synchronization mapping information as a row in the SyncDataSet.SyncItemTaskMappingsDataTable object.
Public class SyncDataSet.SyncItemTaskMappingsRowChangeEvent Event that occurs when data in a SyncItemTaskMappingsRow is changed.
Public class SyncDataSet.SyncProjectSettingsDataTable Represents information about project synchronization settings that is contained in one or more SyncDataSet.SyncProjectSettingsRow objects.
Public class SyncDataSet.SyncProjectSettingsRow Represents project synchronization settings information as a row in the SyncDataSet.SyncProjectSettingsDataTable object.
Public class SyncDataSet.SyncProjectSettingsRowChangeEvent Event that occurs when data in a SyncProjectSettingsRow is changed.
Public class SyncDataSet.SyncValueTranslationsDataTable Represents information about synchronization value translations that is contained in one or more SyncDataSet.SyncValueTranslationsRow objects.
Public class SyncDataSet.SyncValueTranslationsRow Represents synchronization value translations information as a row in the SyncDataSet.SyncValueTranslationsDataTable object.
Public class SyncDataSet.SyncValueTranslationsRowChangeEvent Event that occurs when data in a SyncValueTranslationsRow is changed.
Public class SyncErrorsDataSet Represents project synchronization errors.
Public class SyncErrorsDataSet.SyncErrorsDataTable Represents information about project synchronization errors that is contained in one or more SyncErrorsDataSet.SyncErrorsRow objects.
Public class SyncErrorsDataSet.SyncErrorsRow Represents project synchronization errors as a row in the SyncErrorsDataSet.SyncErrorsDataTable object.
Public class SyncErrorsDataSet.SyncErrorsRowChangeEvent Event that occurs when data in a SyncErrorsRow is changed.

Delegates

  Delegate Description
Public delegate ProjectContextDataSet.RelationshipsRowChangeEventHandler Describes event handler settings for when data associated with a ProjectContextDataSet.RelationshipsRow is edited and an event should be triggered.
Public delegate ProjectDataSet.AssignmentCustomFieldsRowChangeEventHandler Describes event handler settings for when data associated with a ProjectDataSet.AssignmentCustomFieldsRow is edited and an event should be triggered.
Public delegate ProjectDataSet.AssignmentRowChangeEventHandler Describes event handler settings for when data associated with a ProjectDataSet.AssignmentRow is edited and an event should be triggered.
Public delegate ProjectDataSet.DependencyRowChangeEventHandler Describes event handler settings for when data associated with aProjectDataSet.DependencyRowis edited and an event should be triggered.
Public delegate ProjectDataSet.ProjectCustomFieldsRowChangeEventHandler Describes event handler settings for when data associated with a ProjectDataSet.ProjectCustomFieldsRow is edited and an event should be triggered.
Public delegate ProjectDataSet.ProjectResourceCustomFieldsRowChangeEventHandler Describes event handler settings for when data associated with a ProjectDataSet.ProjectResourceCustomFieldsRow is edited and an event should be triggered.
Public delegate ProjectDataSet.ProjectResourceRowChangeEventHandler Describes event handler settings for when data associated with a ProjectDataSet.ProjectResourceRow is edited and an event should be triggered.
Public delegate ProjectDataSet.ProjectRowChangeEventHandler Describes event handler settings for when data associated with a ProjectDataSet.ProjectRow is edited and an event should be triggered.
Public delegate ProjectDataSet.TaskCustomFieldsRowChangeEventHandler Describes event handler settings for when data associated with a ProjectDataSet.TaskCustomFieldsRow is edited and an event should be triggered.
Public delegate ProjectDataSet.TaskRowChangeEventHandler Describes event handler settings for when data associated with a ProjectDataSet.TaskRow is edited and an event should be triggered.
Public delegate ProjectImpactDataSet.DriversRowChangeEventHandler Describes event handler settings for when data associated with a ProjectImpactDataSet.DriversRow is edited and an event should be triggered.
Public delegate ProjectImpactDataSet.ImpactStatementsRowChangeEventHandler Describes event handler settings for when data associated with a ProjectImpactDataSet.ImpactStatementsRow is edited and an event should be triggered.
Public delegate ProjectImpactDataSet.LookupTableValuesRowChangeEventHandler Describes event handler settings for when data associated with a ProjectImpactDataSet.LookupTableValuesRow is edited and an event should be triggered.
Public delegate ProjectImpactDataSet.ProjectImpactValuesRowChangeEventHandler Describes event handler settings for when data associated with a ProjectImpactDataSet.ProjectImpactValuesRow is edited and an event should be triggered.
Public delegate ProjectRelationsDataSet.ProjectRelationsRowChangeEventHandler Describes event handler settings for when data associated with a ProjectRelationsDataSet.ProjectRelationsRow is edited and an event should be triggered.
Public delegate ProjectTeamDataSet.ProjectTeamRowChangeEventHandler Describes event handler settings for when data associated with a ProjectTeamDataSet.ProjectTeamRow is edited and an event should be triggered.
Public delegate SyncDataSet.SyncFieldMappingsRowChangeEventHandler Describes event handler settings for when data associated with a SyncDataSet.SyncFieldMappingsRow is edited and an event should be triggered.
Public delegate SyncDataSet.SyncItemTaskMappingsRowChangeEventHandler Describes event handler settings for when data associated with a SyncDataSet.SyncItemTaskMappingsRow is edited and an event should be triggered.
Public delegate SyncDataSet.SyncProjectSettingsRowChangeEventHandler Describes event handler settings for when data associated with a SyncDataSet.SyncProjectSettingsRow is edited and an event should be triggered.
Public delegate SyncDataSet.SyncValueTranslationsRowChangeEventHandler Describes event handler settings for when data associated with a SyncDataSet.SyncValueTranslationsRow is edited and an event should be triggered.
Public delegate SyncErrorsDataSet.SyncErrorsRowChangeEventHandler Describes event handler settings for when data associated with a SyncErrorsDataSet.SyncErrorsRow is edited and an event should be triggered.

Enumerations

  Enumeration Description
Public enumeration DataStoreEnum Specifies the Project Server database: Draft, Published, Archive, or Reporting.
Public enumeration SyncEntityUidType Specifies the synchronization entity’s Uid type.