Reference for Team Foundation Server SDK
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

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

returnValue = instance.BatchSave(workitems)
C#
public BatchSaveError[] BatchSave (
	WorkItem[] workitems
)
C++
public:
array<BatchSaveError^>^ BatchSave (
	array<WorkItem^>^ workitems
)
J#
public BatchSaveError[] BatchSave (
	WorkItem[] workitems
)
JScript
public function BatchSave (
	workitems : WorkItem[]
) : BatchSaveError[]

Parameters

workitems

An array of WorkItem objects to save.

Return Value

An array of BatchSaveError objects, each one corresponding to a single work item.
See Also

Tags :


Page view tracker