次の方法で共有


PSWorkflowService.CheckRequiredFields Method

Checks whether there are required custom fields or business drivers.

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

Syntax

'Declaration
Public Function CheckRequiredFields ( _
    workflowContext As ProjectWorkflowContext, _
    stageUid As Guid, _
    alwaysWait As Boolean _
) As Boolean
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim stageUid As Guid
Dim alwaysWait As Boolean
Dim returnValue As Boolean

returnValue = instance.CheckRequiredFields(workflowContext, _
    stageUid, alwaysWait)
public bool CheckRequiredFields(
    ProjectWorkflowContext workflowContext,
    Guid stageUid,
    bool alwaysWait
)

Parameters

  • stageUid
    Type: System.Guid
    The GUID of the workflow stage to check.
  • alwaysWait
    Type: System.Boolean
    True if the current stage is set to wait always, even if there are no required fields; otherwise, false.

Return Value

Type: System.Boolean
True if there are required custom fields; otherwise, false.

Implements

IPSWorkflowService.CheckRequiredFields(ProjectWorkflowContext, Guid, Boolean)

See Also

Reference

PSWorkflowService Class

PSWorkflowService Members

Microsoft.Office.Project.Server.Workflow Namespace