다음을 통해 공유


IPSWorkflowService.CheckRequiredFields method

Checks whether there are required custom fields or business drivers.

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

Syntax

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

returnValue = instance.CheckRequiredFields(workflowContext, _
    stageUid, alwaysWait)
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.

See also

Reference

IPSWorkflowService interface

IPSWorkflowService members

Microsoft.Office.Project.Server.Library namespace