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
workitems
Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem[]An array of WorkItem objects to save.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.