Share via


TeamFoundationLinkingService.GetArtifactUrlExternal Method (TeamFoundationRequestContext, String)

Gets the URL for the 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.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetArtifactUrlExternal ( _
    requestContext As TeamFoundationRequestContext, _
    uri As String _
) As String
public string GetArtifactUrlExternal(
    TeamFoundationRequestContext requestContext,
    string uri
)
public:
String^ GetArtifactUrlExternal(
    TeamFoundationRequestContext^ requestContext, 
    String^ uri
)
member GetArtifactUrlExternal : 
        requestContext:TeamFoundationRequestContext * 
        uri:string -> string
public function GetArtifactUrlExternal(
    requestContext : TeamFoundationRequestContext, 
    uri : String
) : 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.Framework.Server Namespace