Share via


WorkflowActivities.UpdateDateTimeProperty method

Updates the value of of the specified project property by using the SharePoint SPFieldType.DateTime type.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Sub UpdateDateTimeProperty ( _
    projectId As Guid, _
    propertyId As String, _
    value As DateTime _
)
'Usage
Dim instance As WorkflowActivities
Dim projectId As Guid
Dim propertyId As String
Dim value As DateTime

instance.UpdateDateTimeProperty(projectId, _
    propertyId, value)
[RemoteAttribute]
public void UpdateDateTimeProperty(
    Guid projectId,
    string propertyId,
    DateTime value
)

Parameters

  • propertyId
    Type: System.String

    The GUID of the property to read.

Remarks

A Project Server workflow can call the UpdateDateTimeProperty method. Valid propertyId values can be retrieved from the WorkflowDesigner.Fields collection by using the WorkflowDesignerField.Id property. The UpdateDateTimeProperty method works only with fields where the WorkflowDesignerField.SPFieldType property is SPFieldType.DateTime.

See also

Reference

WorkflowActivities class

WorkflowActivities members

Microsoft.ProjectServer.Client namespace