Partager via


Workflow.CreateEnterpriseProjectType Method

Creates a template for an enterprise project type (EPT).

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/CreateEnterpriseProjectType", 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 CreateEnterpriseProjectType ( _
    workflowDS As WorkflowDataSet _
)
'Usage
Dim instance As Workflow
Dim workflowDS As WorkflowDataSet

instance.CreateEnterpriseProjectType(workflowDS)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/CreateEnterpriseProjectType", 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 CreateEnterpriseProjectType(
    WorkflowDataSet workflowDS
)

Parameters

Remarks

The WorkflowDataSet.EnterpriseProjectTypeRow in the WorkflowDataSet.EnterpriseProjectTypeDataTable contains the EPT information.

Project Server Permissions

Permission

Description

ManageWorkflow

Allows the user to manage workflows. Global permission.

See Also

Reference

Workflow Class

Workflow Members

Workflow Web Service