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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
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
- 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.
See Also
Reference
TeamFoundationLinkingService Class