Partager via


TeamFoundationLinkingService.GetArtifactUrlExternal Method (TeamFoundationRequestContext, ArtifactId)

Gets URL for artifact for addressability in links. This version will get the server URL part from web.config. It is intended to generate a URL for external access.

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

Syntax

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

Parameters

Return Value

Type: System.String
The external URL for the artifact

.NET Framework Security

See Also

Reference

TeamFoundationLinkingService Class

GetArtifactUrlExternal Overload

Microsoft.TeamFoundation.Server.Core Namespace