WorkflowDataSet.EnterpriseProjectTypeDataTable.AddEnterpriseProjectTypeRow Method (Guid, String, String, Guid, String, Boolean, Guid, String, Int32, String)
Adds a EnterpriseProjectTypeRow object to the EnterpriseProjectTypeDataTable by using separate parameters.
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
Public Function AddEnterpriseProjectTypeRow ( _
ENTERPRISE_PROJECT_TYPE_UID As Guid, _
ENTERPRISE_PROJECT_TYPE_NAME As String, _
ENTERPRISE_PROJECT_TYPE_DESCRIPTION As String, _
WORKFLOW_ASSOCIATION_UID As Guid, _
WORKFLOW_ASSOCIATION_NAME As String, _
IS_DEFAULT_PROJECT_TYPE As Boolean, _
ENTERPRISE_PROJECT_PLAN_TEMPLATE_UID As Guid, _
ENTERPRISE_PROJECT_WORKSPACE_TEMPLATE_NAME As String, _
ENTERPRISE_PROJECT_TYPE_ORDER As Integer, _
ENTERPRISE_PROJECT_TYPE_IMAGE_URL As String _
) As WorkflowDataSet.EnterpriseProjectTypeRow
'Usage
Dim instance As WorkflowDataSet.EnterpriseProjectTypeDataTable
Dim ENTERPRISE_PROJECT_TYPE_UID As Guid
Dim ENTERPRISE_PROJECT_TYPE_NAME As String
Dim ENTERPRISE_PROJECT_TYPE_DESCRIPTION As String
Dim WORKFLOW_ASSOCIATION_UID As Guid
Dim WORKFLOW_ASSOCIATION_NAME As String
Dim IS_DEFAULT_PROJECT_TYPE As Boolean
Dim ENTERPRISE_PROJECT_PLAN_TEMPLATE_UID As Guid
Dim ENTERPRISE_PROJECT_WORKSPACE_TEMPLATE_NAME As String
Dim ENTERPRISE_PROJECT_TYPE_ORDER As Integer
Dim ENTERPRISE_PROJECT_TYPE_IMAGE_URL As String
Dim returnValue As WorkflowDataSet.EnterpriseProjectTypeRow
returnValue = instance.AddEnterpriseProjectTypeRow(ENTERPRISE_PROJECT_TYPE_UID, _
ENTERPRISE_PROJECT_TYPE_NAME, ENTERPRISE_PROJECT_TYPE_DESCRIPTION, _
WORKFLOW_ASSOCIATION_UID, WORKFLOW_ASSOCIATION_NAME, _
IS_DEFAULT_PROJECT_TYPE, ENTERPRISE_PROJECT_PLAN_TEMPLATE_UID, _
ENTERPRISE_PROJECT_WORKSPACE_TEMPLATE_NAME, _
ENTERPRISE_PROJECT_TYPE_ORDER, _
ENTERPRISE_PROJECT_TYPE_IMAGE_URL)
public WorkflowDataSet.EnterpriseProjectTypeRow AddEnterpriseProjectTypeRow(
Guid ENTERPRISE_PROJECT_TYPE_UID,
string ENTERPRISE_PROJECT_TYPE_NAME,
string ENTERPRISE_PROJECT_TYPE_DESCRIPTION,
Guid WORKFLOW_ASSOCIATION_UID,
string WORKFLOW_ASSOCIATION_NAME,
bool IS_DEFAULT_PROJECT_TYPE,
Guid ENTERPRISE_PROJECT_PLAN_TEMPLATE_UID,
string ENTERPRISE_PROJECT_WORKSPACE_TEMPLATE_NAME,
int ENTERPRISE_PROJECT_TYPE_ORDER,
string ENTERPRISE_PROJECT_TYPE_IMAGE_URL
)
Parameters
- ENTERPRISE_PROJECT_TYPE_UID
Type: System.Guid
Contains the project enterprise type GUID.
- ENTERPRISE_PROJECT_TYPE_NAME
Type: System.String
Contains the project enterprise type name
- ENTERPRISE_PROJECT_TYPE_DESCRIPTION
Type: System.String
Contains the project enterprise type description.
- WORKFLOW_ASSOCIATION_UID
Type: System.Guid
Contains the workflow association GUID.
- WORKFLOW_ASSOCIATION_NAME
Type: System.String
Contains the workflow association name.
- IS_DEFAULT_PROJECT_TYPE
Type: System.Boolean
Specifies whether the project type is the default type.
- ENTERPRISE_PROJECT_PLAN_TEMPLATE_UID
Type: System.Guid
Contains the project plan template GUID.
- ENTERPRISE_PROJECT_WORKSPACE_TEMPLATE_NAME
Type: System.String
Contains the project site template name.
- ENTERPRISE_PROJECT_TYPE_ORDER
Type: System.Int32
Contains the project enterprise type order.
- ENTERPRISE_PROJECT_TYPE_IMAGE_URL
Type: System.String
Contains the image URL of the project type.
Return Value
Type: [Workflow Web service].WorkflowDataSet.EnterpriseProjectTypeRow
Remarks
In general, developers should use the AddEnterpriseProjectTypeRow overload.
See Also
Reference
WorkflowDataSet.EnterpriseProjectTypeDataTable Class
WorkflowDataSet.EnterpriseProjectTypeDataTable Members