Partager via


UpdateProjectProperty Class

The workflow activity that updates the specified project property.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      Microsoft.Office.Project.Server.Workflow.UpdateProjectProperty

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
<ToolboxBitmapAttribute(GetType(UpdateProjectProperty), "Resources.UpdateProjectProperty.bmp")> _
<PersistOnCloseAttribute> _
Public NotInheritable Class UpdateProjectProperty _
    Inherits Activity _
    Implements IActivityEventListener(Of QueueEventArgs)
'Usage
Dim instance As UpdateProjectProperty
[ToolboxBitmapAttribute(typeof(UpdateProjectProperty), "Resources.UpdateProjectProperty.bmp")]
[PersistOnCloseAttribute]
public sealed class UpdateProjectProperty : Activity, 
    IActivityEventListener<QueueEventArgs>

Remarks

The property can be an intrinsic property, such as project start date, or it can be a project custom field.

The property update is made based on the type of the specified property. The property type can be text, numeric, date-time, duration, or flag (a Boolean value). If the MdPropUid property GUID is specified, the PropertyName value is ignored.

The Workflow Designer pane and the Properties pane in Microsoft Visual Studio 2010 enable you to get and set properties in fields for the UpdateProjectProperty activity.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

UpdateProjectProperty Members

Microsoft.Office.Project.Server.Workflow Namespace