WorkflowDataSet.WorkflowStageDataTable.AddWorkflowStageRow Method (Guid, String, WorkflowDataSet.WorkflowPhaseRow, String, String, Boolean, String, Guid)
Adds a WorkflowStageCustomFieldsRow object to the WorkflowStageCustomFieldsDataTable 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 AddWorkflowStageRow ( _
STAGE_UID As Guid, _
STAGE_NAME As String, _
parentWorkflowPhaseRowByFK_WorkflowPhase_WorkflowStage As WorkflowDataSet.WorkflowPhaseRow, _
PHASE_NAME As String, _
STAGE_DESCRIPTION As String, _
CHECKIN_REQUIRED As Boolean, _
STAGE_SUBMIT_DESCRIPTION As String, _
STATUS_PDP_UID As Guid _
) As WorkflowDataSet.WorkflowStageRow
'Usage
Dim instance As WorkflowDataSet.WorkflowStageDataTable
Dim STAGE_UID As Guid
Dim STAGE_NAME As String
Dim parentWorkflowPhaseRowByFK_WorkflowPhase_WorkflowStage As WorkflowDataSet.WorkflowPhaseRow
Dim PHASE_NAME As String
Dim STAGE_DESCRIPTION As String
Dim CHECKIN_REQUIRED As Boolean
Dim STAGE_SUBMIT_DESCRIPTION As String
Dim STATUS_PDP_UID As Guid
Dim returnValue As WorkflowDataSet.WorkflowStageRow
returnValue = instance.AddWorkflowStageRow(STAGE_UID, _
STAGE_NAME, parentWorkflowPhaseRowByFK_WorkflowPhase_WorkflowStage, _
PHASE_NAME, STAGE_DESCRIPTION, CHECKIN_REQUIRED, _
STAGE_SUBMIT_DESCRIPTION, STATUS_PDP_UID)
public WorkflowDataSet.WorkflowStageRow AddWorkflowStageRow(
Guid STAGE_UID,
string STAGE_NAME,
WorkflowDataSet.WorkflowPhaseRow parentWorkflowPhaseRowByFK_WorkflowPhase_WorkflowStage,
string PHASE_NAME,
string STAGE_DESCRIPTION,
bool CHECKIN_REQUIRED,
string STAGE_SUBMIT_DESCRIPTION,
Guid STATUS_PDP_UID
)
Parameters
- STAGE_UID
Type: System.Guid
Contains the stage GUID.
- STAGE_NAME
Type: System.String
Contains the stage name.
- parentWorkflowPhaseRowByFK_WorkflowPhase_WorkflowStage
Type: [Workflow Web service].WorkflowDataSet.WorkflowPhaseRow
Contains the row information.
- PHASE_NAME
Type: System.String
Contains the phase name.
- STAGE_DESCRIPTION
Type: System.String
Contains the stage description.
- CHECKIN_REQUIRED
Type: System.Boolean
Specifies whether check in is required,
- STAGE_SUBMIT_DESCRIPTION
Type: System.String
Contains the stage submit description.
- STATUS_PDP_UID
Type: System.Guid
Return Value
Type: [Workflow Web service].WorkflowDataSet.WorkflowStageRow
Remarks
In general, developers should use the AddWorkflowStageRow overload.
See Also
Reference
WorkflowDataSet.WorkflowStageDataTable Class