次の方法で共有


Proj Element (SetAssignmentWorkData)

Applies to: Office 2010 | Project 2010 | Project Server 2010 | SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Specifies the identity of the project to change with an assignment work data update.

<Proj
    ID = "Text">
</Proj>

Attributes

Attribute

Description

ID

Required Text. Specifies the globally unique identifier (GUID) of the assignment. Values must be in the form "HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH" where "H" represents a hexadecimal digit between "'0" and "F".

Child Elements

Assn

Parent Elements

Changes

Occurrences

Minimum: 1

Maximum: Unbounded

Remarks

A single Proj element can contain updates to multiple assignments.

Example

The following example uses the Proj element to contain updates to two assignments.

<Changes>
  <Proj ID="a47faeab-0f72-455a-b629-d62faf5fece6">
    <Assn ID="6c9888a8-a782-47ac-a905-e84ad1fe0fb2">
    …
    </Assn>
    <Assn ID="5f31abf4-73a9-1ae4-c38d-234ea7242ab0">
    …
    </Assn>
  </Proj>
</Changes>