WorkItemStore.BatchSave Method (array<WorkItem )
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
'Déclaration
Public Function BatchSave ( _
workitems As WorkItem() _
) As BatchSaveError()
public BatchSaveError[] BatchSave(
WorkItem[] workitems
)
public:
array<BatchSaveError^>^ BatchSave(
array<WorkItem^>^ workitems
)
member BatchSave :
workitems:WorkItem[] -> BatchSaveError[]
public function BatchSave(
workitems : WorkItem[]
) : BatchSaveError[]
Parameters
- workitems
Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem[]
An array of work items to commit.
Return Value
Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveError[]
An array of errors that result from the save.
.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.