This documentation is archived and is not being maintained.
WorkItemStore::GetWorkItemIdsForArtifactUris Method
Visual Studio 2013
A list of artifact links that are paired with their referencing work items.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
public: Dictionary<String^, array<int>^>^ GetWorkItemIdsForArtifactUris( array<String^>^ artifactUriList, DateTime asOfDate )
Parameters
- artifactUriList
- Type: array<System::String>
An array of artifact links for which to retrieve work item IDs.
- asOfDate
- Type: System::DateTime
A date at which to execute the request.
Return Value
Type: System.Collections.Generic::Dictionary<String, array<Int32>>A dictionary of work item URIs that reference the artifacts that are specified by artifactUriList.
| Exception | Condition |
|---|---|
| ArgumentNullException | At least one parameter was null. |
| ArgumentException | The artifactUriList has zero length or one of the elements in the list is null. |
- 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.
Show: