Share via


WorkItemStore.BatchSave Method

Saves multiple WorkItem objects in bulk to minimize server round trips. Used to optimize performance.

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

Syntax

'Declaration
Public Function BatchSave ( _
    workitems As WorkItem() _
) As BatchSaveError()
'Usage
Dim instance As WorkItemStore 
Dim workitems As WorkItem()
Dim returnValue As BatchSaveError()

returnValue = instance.BatchSave(workitems)
public BatchSaveError[] BatchSave(
    WorkItem[] workitems
)
public:
array<BatchSaveError^>^ BatchSave(
    array<WorkItem^>^ workitems
)
public function BatchSave(
    workitems : WorkItem[]
) : BatchSaveError[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveError[]
An array of BatchSaveError objects, each one corresponding to a single work item.

.NET Framework Security

See Also

Reference

WorkItemStore Class

WorkItemStore Members

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace