WorkflowDataSet.EnterpriseProjectTypeDepartmentsDataTable.AddEnterpriseProjectTypeDepartmentsRow Method (WorkflowDataSet.EnterpriseProjectTypeRow, Guid)
Adds an EnterpriseProjectTypeDepartmentsRow object to the EnterpriseProjectTypeDepartmentsDataTable 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 AddEnterpriseProjectTypeDepartmentsRow ( _
parentEnterpriseProjectTypeRowByEnterpriseProjectType_EnterpriseProjectTypeDepartments As WorkflowDataSet.EnterpriseProjectTypeRow, _
DEPARTMENT_UID As Guid _
) As WorkflowDataSet.EnterpriseProjectTypeDepartmentsRow
'Usage
Dim instance As WorkflowDataSet.EnterpriseProjectTypeDepartmentsDataTable
Dim parentEnterpriseProjectTypeRowByEnterpriseProjectType_EnterpriseProjectTypeDepartments As WorkflowDataSet.EnterpriseProjectTypeRow
Dim DEPARTMENT_UID As Guid
Dim returnValue As WorkflowDataSet.EnterpriseProjectTypeDepartmentsRow
returnValue = instance.AddEnterpriseProjectTypeDepartmentsRow(parentEnterpriseProjectTypeRowByEnterpriseProjectType_EnterpriseProjectTypeDepartments, _
DEPARTMENT_UID)
public WorkflowDataSet.EnterpriseProjectTypeDepartmentsRow AddEnterpriseProjectTypeDepartmentsRow(
WorkflowDataSet.EnterpriseProjectTypeRow parentEnterpriseProjectTypeRowByEnterpriseProjectType_EnterpriseProjectTypeDepartments,
Guid DEPARTMENT_UID
)
Parameters
- parentEnterpriseProjectTypeRowByEnterpriseProjectType_EnterpriseProjectTypeDepartments
Type: [Workflow Web service].WorkflowDataSet.EnterpriseProjectTypeRow
- DEPARTMENT_UID
Type: System.Guid
Contains the department GUID.
Return Value
Type: [Workflow Web service].WorkflowDataSet.EnterpriseProjectTypeDepartmentsRow
Remarks
In general, developers should use the AddEnterpriseProjectTypeDepartmentsRow overload
See Also
Reference
WorkflowDataSet.EnterpriseProjectTypeDepartmentsDataTable Class
WorkflowDataSet.EnterpriseProjectTypeDepartmentsDataTable Members