WorkflowActivities.UpdateGuidProperty method
Updates the value of of the specified project property by using the SharePoint SPFieldType.Guid type.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Sub UpdateGuidProperty ( _
projectId As Guid, _
propertyId As String, _
value As Guid _
)
'Usage
Dim instance As WorkflowActivities
Dim projectId As Guid
Dim propertyId As String
Dim value As Guid
instance.UpdateGuidProperty(projectId, _
propertyId, value)
[RemoteAttribute]
public void UpdateGuidProperty(
Guid projectId,
string propertyId,
Guid value
)
Parameters
projectId
Type: System.GuidThe GUID of the project.
propertyId
Type: System.StringThe GUID of the property to read.
value
Type: System.GuidThe Guid value to update.
Remarks
A Project Server workflow can call the UpdateGuidProperty method. Valid propertyId values can be retrieved from the WorkflowDesigner.Fields collection by using the WorkflowDesignerField.Id property. The UpdateGuidProperty method works only with fields where the WorkflowDesignerField.SPFieldType property is SPFieldType.Guid.