WorkItemStore.DestroyWorkItems Method

Destroys work items that have the specified IDs.

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

public IEnumerable<WorkItemOperationError> DestroyWorkItems(
	IEnumerable<int> ids
)

Parameters

ids
Type: System.Collections.Generic.IEnumerable<Int32>

An enumerable collection of work item IDs that are associated with the work items to destroy.

Return Value

Type: System.Collections.Generic.IEnumerable<WorkItemOperationError>
An enumerable collection of errors that occurred during the destroy operation.

ExceptionCondition
ArgumentNullException

The ids parameter was null.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft