共用方式為


Workflow.DeleteWorkflowPhases Method

Deletes the specified workflow phases.

Namespace:  [Workflow Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Workflow.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Workflow.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/DeleteWorkflowPhases", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Workflow/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Workflow/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub DeleteWorkflowPhases ( _
    workflowPhaseUid As Guid() _
)
'Usage
Dim instance As Workflow
Dim workflowPhaseUid As Guid()

instance.DeleteWorkflowPhases(workflowPhaseUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/DeleteWorkflowPhases", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Workflow/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Workflow/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void DeleteWorkflowPhases(
    Guid[] workflowPhaseUid
)

Parameters

  • workflowPhaseUid
    Type: []
    An array of GUIDs of the workflow phases to delete.

Remarks

Project Server Permissions

Permission

Description

ManageWorkflow

Allows the user to manage workflows. Global permission.

See Also

Reference

Workflow Class

Workflow Members

Workflow Web Service