Share via


OnProjectCommit.WorkflowContext Property

Gets or sets the context of the OnProjectCommit activity in the parent ProjectSequence workflow activity.

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property WorkflowContext As ProjectWorkflowContext
    Get
    Set
'Usage
Dim instance As OnProjectCommit
Dim value As ProjectWorkflowContext

value = instance.WorkflowContext

instance.WorkflowContext = value
[BrowsableAttribute(true)]
public ProjectWorkflowContext WorkflowContext { get; set; }

Property Value

Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext

Remarks

The WorkflowContext property includes the name of the parent ProjectSequence activity instance and the path name of the WorkflowContext property in the parent activity. For example, if the OnProjectCommit activity occurs within a ProjectSequence activity named projectSequence1, the Properties pane shows the WorkflowContext value as Activity=projectSequence1, Path=WorkflowContext.

See Also

Reference

OnProjectCommit Class

OnProjectCommit Members

Microsoft.Office.Project.Server.Workflow Namespace

WorkflowContextProperty