GetWorkItemIdsForArtifactUris Method

WorkItemStore.GetWorkItemIdsForArtifactUris Method

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, int[]> GetWorkItemIdsForArtifactUris(
	string[] artifactUriList,
	DateTime asOfDate
)

Parameters

artifactUriList
Type: 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, Int32[]>
A dictionary of work item URIs that reference the artifacts that are specified by artifactUriList.

ExceptionCondition
ArgumentNullException

At least one parameter was null.

ArgumentException

The artifactUriList has zero length or one of the elements in the list is null.

Show:
© 2016 Microsoft