Show All

# <Units> Element

The number of units for which a resource is assigned to a task, expressed as a percentage, assuming a resource's MaxUnits value is 100%.

Element Properties

Property | Value
--- | ---
Data Type | Float
Minimum Occurrences | 0
Maximum Occurrences | 1
Default Value | N/A
Abstract | False
Nillable | False
Element Constraints | N/A

Parent Elements

<Assignment>

See Also

XML Schema for the <Assignment> Element
XML Structure for the <Assignment> Element

## Example

The following assigns resource number 3 to task number 22, at 50%

    <Assignment>
          ...
       <TaskUID>22</TaskUID>
       <ResourceUID>3</ResourceUID>
       <Units>0.5</Units>
          ...
    </Assignment>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp