Share via


TeamFoundationLinkingService.GetReferencingArtifacts Method (TeamFoundationRequestContext, array<String[], array<LinkFilter[])

Gets artifacts that reference the provided artifact URLs restricting the scope with the provided filters.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetReferencingArtifacts ( _
    requestContext As TeamFoundationRequestContext, _
    uriList As String(), _
    filters As LinkFilter() _
) As Artifact()
public Artifact[] GetReferencingArtifacts(
    TeamFoundationRequestContext requestContext,
    string[] uriList,
    LinkFilter[] filters
)
public:
array<Artifact^>^ GetReferencingArtifacts(
    TeamFoundationRequestContext^ requestContext, 
    array<String^>^ uriList, 
    array<LinkFilter^>^ filters
)
member GetReferencingArtifacts : 
        requestContext:TeamFoundationRequestContext * 
        uriList:string[] * 
        filters:LinkFilter[] -> Artifact[] 
public function GetReferencingArtifacts(
    requestContext : TeamFoundationRequestContext, 
    uriList : String[], 
    filters : LinkFilter[]
) : Artifact[]

Parameters

  • uriList
    Type: array<System.String[]

    The URLs to retrieve referencing artifacts for.

  • filters
    Type: array<Microsoft.TeamFoundation.LinkFilter[]

    The filters to apply for artifacts. Only tools that are contained in filters will be used to retrieve referencing artifacts. If filters are null, all tools will be used.

Return Value

Type: array<Microsoft.TeamFoundation.Artifact[]
The referencing artifacts for the provided artifact URLs. The resulting artifacts will only come from tools that were included in the provided filter.

.NET Framework Security

See Also

Reference

TeamFoundationLinkingService Class

GetReferencingArtifacts Overload

Microsoft.TeamFoundation.Framework.Server Namespace