共用方式為


SetProjectStage.WorkflowContext Property

Gets or sets the context of the SetProjectStage activity in the parent 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 SetProjectStage
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 a SetProjectStage activity occurs within a ProjectSequence activity named projectSequence1, the Properties pane shows the WorkflowContext value as Activity=projectSequence1, Path=WorkflowContext.

See Also

Reference

SetProjectStage Class

SetProjectStage Members

Microsoft.Office.Project.Server.Workflow Namespace

WorkflowContextProperty