WorkItemStore.BatchSave Method (array<WorkItem , SaveFlags)

Commits multiple items in a branch and returns a list of errors if one or more items fail.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Function BatchSave ( _
    workitems As WorkItem(), _
    saveFlags As SaveFlags _
) As BatchSaveError()
public BatchSaveError[] BatchSave(
    WorkItem[] workitems,
    SaveFlags saveFlags
)
public:
array<BatchSaveError^>^ BatchSave(
    array<WorkItem^>^ workitems, 
    SaveFlags saveFlags
)
member BatchSave : 
        workitems:WorkItem[] * 
        saveFlags:SaveFlags -> BatchSaveError[] 
public function BatchSave(
    workitems : WorkItem[], 
    saveFlags : SaveFlags
) : BatchSaveError[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveError[]
An array of errors that result from the save.

.NET Framework Security

See Also

Reference

WorkItemStore Class

BatchSave Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace