Sdílet prostřednictvím


TeamFoundationLinkingService.GetArtifactUrl Method (TeamFoundationRequestContext, ArtifactId)

Gets URL for artifact for addressability in links. This version will get the server URL from the location service.

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

Syntax

'Declaration
Public Function GetArtifactUrl ( _
    requestContext As TeamFoundationRequestContext, _
    artId As ArtifactId _
) As String
public string GetArtifactUrl(
    TeamFoundationRequestContext requestContext,
    ArtifactId artId
)
public:
String^ GetArtifactUrl(
    TeamFoundationRequestContext^ requestContext, 
    ArtifactId^ artId
)
member GetArtifactUrl : 
        requestContext:TeamFoundationRequestContext * 
        artId:ArtifactId -> string
public function GetArtifactUrl(
    requestContext : TeamFoundationRequestContext, 
    artId : ArtifactId
) : String

Parameters

Return Value

Type: System.String
The URL for the artifact.

.NET Framework Security

See Also

Reference

TeamFoundationLinkingService Class

GetArtifactUrl Overload

Microsoft.TeamFoundation.Server.Core Namespace