Delen via


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

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

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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 contained in filters will be used to retrieve referencing artifacts. If filters is 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 which were included in the provided filter.

.NET Framework Security

See Also

Reference

TeamFoundationLinkingService Class

GetReferencingArtifacts Overload

Microsoft.TeamFoundation.Server.Core Namespace