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)

Syntax

'Declaration
Public Function DestroyWorkItems ( _
    ids As IEnumerable(Of Integer) _
) As IEnumerable(Of WorkItemOperationError)
public IEnumerable<WorkItemOperationError> DestroyWorkItems(
    IEnumerable<int> ids
)
public:
IEnumerable<WorkItemOperationError^>^ DestroyWorkItems(
    IEnumerable<int>^ ids
)
member DestroyWorkItems : 
        ids:IEnumerable<int> -> IEnumerable<WorkItemOperationError> 
public function DestroyWorkItems(
    ids : IEnumerable<int>
) : IEnumerable<WorkItemOperationError>

Parameters

Return Value

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

Exceptions

Exception Condition
ArgumentNullException

The ids parameter was null.

.NET Framework Security

See Also

Reference

WorkItemStore Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace