Share via


WorkflowActivities.UpdateBooleanProperty method

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

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

Syntax

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

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

Parameters

  • propertyId
    Type: System.String

    The GUID of the property to read.

Remarks

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

See also

Reference

WorkflowActivities class

WorkflowActivities members

Microsoft.ProjectServer.Client namespace