PSDataType Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of Project Server data.
public enum class PSDataType
public enum PSDataType
type PSDataType =
Public Enum PSDataType
- Inheritance
-
PSDataType
Name | Value | Description |
---|---|---|
BAD_FORMATTYPE | -1 | Value=-1. Bad format type. |
INVALID | 0 | Value=0. Invalid data. Forces an error return. |
UID | 1 | Value=1. Project unique identification number (ID). |
PRIORITY | 2 | Value=2. Index into priority table. |
CONSTYPE | 3 | Value=3. Index into constraint table. |
DATE | 4 | Value=4. Date, where HIWORD contains the day offset from 1/1/1984. LOWORD (0 – 1440) contains the minute offset from 12:00 am. |
STARTDATE | 4 | Value=4. Start date. |
PERCENT | 5 | Value=5. Percent. |
DURATION | 6 | Value=6. Value in 1/DUR_MULTIPLIER minutes. |
DUROFFSET | 7 | Value=7. Value in 1/DUR_MULTIPLIER minutes since 1/1/1984. |
WORK | 8 | Value=8. Work value in 1/WORK_MULTIPLIER minutes. |
COST | 9 | Value=9. Value in 1/COST_MULTIPLIER dollars. |
WORKRATE | 10 | Value=10. Work rate value in (1/DUR_MULTIPLIER minutes per 1/DUR_MULTIPLIER minutes. |
COSTRATE | 11 | Value=11. Value in 1/COST_MULTIPLIER dollars per 1/DUR_MULTIPLIER minutes. |
UNITS | 12 | Value=12. Value in 1/UNITS_MULTIPLIER units. |
ACCRUAL | 13 | Value=13. Index into accrual table. |
CONTOURTYPE | 14 | Value=14. Index into contour table. |
NUMBER | 15 | Value=15. A plain number. |
BOOL | 16 | Value=16. Index into boolean string table. |
YESNO | 17 | Value=17. Index into a yes/no string table. |
DOUBLE | 18 | Value=18. A Double value. |
WORD | 20 | Value=20. A Word value (two bytes). |
STRING | 21 | Value=21. A String value. |
TIMELABEL | 22 | Value=22. Time label. |
TIME | 23 | Value=23. Minutes since 12:00 am (midnight). |
LONG | 24 | Value=24. A Long value. |
LINK | 25 | Value=25. Index to type of task link (SS, FF, FS, SF). |
RTF | 26 | Value=26. Rich text format (RTF) data. Not supported. |
FINISHDATE | 27 | Value=27. Finish date, where the value is the same as DATE, except the default finish time is used when a date string does not include the time. |
ELAPSEDDUR | 28 | Value=28. Elapsed duration values. |
TASKTYPE | 29 | Value=29. Task type (fixed units, fixed work, or fixed duration). |
HLFRIENDLYNAME | 30 | Value=30. Not supported. |
HLTARGET | 31 | Value=31. Not supported. |
HLLOCATION | 32 | Value=32. Not supported. |
HLHREF | 33 | Value=33. Not supported. |
GPI | 34 | Value=34. Not supported. |
MONIKER | 35 | Value=35. Not supported. |
INDICATOR | 36 | Value=36. Indicator. |
EXID | 37 | Value=37. External identification number. |
BLANKEXID | 38 | Value=38. External ID shown as blank string. |
WGUSER | 39 | Value=39. Workgroup user type. |
RATETABLE | 40 | Value=40. Assignment rate table (used by VBA in Project Professional). Not supported. |
R8PCT | 41 | Value=41. Used for percent allocation, where the data may overflow a word. Not supported. |
GUID | 42 | Value=42. A GUID value. |
RSCTYPE | 43 | Value=43. Resource type. |
SIMPLERATE | 44 | Value=44. Simple rate. |
MATERIALWORK | 45 | Value=45. Same as TSMATERIALWORK (timesheet material work). |
TSMATERIALWORK | 45 | Value=45. Timesheet material work. |
HLSCREENTIP | 46 | Value=46. Not supported. |
ENUM1 | 47 | Value=47. Enumerated type used by Web client. |
ENUM2 | 48 | Value=48. Enumerated type used by Web client. |
ENUM3 | 49 | Value=49. Enumerated type used by Web client. |
PSSTRINGS | 50 | Value=50. Project Server string data. |
TASKSTATUS | 51 | Value=51. Task status (complete, on schedule, late, future task, or none). |
DEMREQ | 52 | Value=52. Resource request type. |
EVMETH | 53 | Value=53. Earned value method. |
BOOKING | 54 | Value=54. Resource booking. |
MULTICURRENCY | 55 | Value=55. Multicurrency. |
NUMTYPES | 56 | Value=56. Numerical types. |
BEGINDATE | 57 | Value=57. Start date. |
TASKMODE | 58 | Value=58. Task mode (automatically or manually scheduled). |
Project, resource, task, and assignment enterprise custom field definitions use PSDataType to specify the type of data. For example, see FIELD_TYPE_ENUM for the task custom field. Enterprise custom fields can be one of the following types:
- Cost: COST
- Date: DATE
- Duration: DURATION
- Flag: YESNO
- Number: NUMBER
- Text: STRING
The following constants are defined in a private assembly:
- DUR_MULTIPLIER = 10
- COST_MULTIPLIER = 100
- WORK_MULTIPLIER = 1000
- UNITS_MULTIPLIER = 10000
產品 | 版本 |
---|---|
Project Server | Latest |