Delen via


TeamFoundationLinkingService.GetArtifactUrl Method (TeamFoundationRequestContext, String)

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, _
    uri As String _
) As String
public string GetArtifactUrl(
    TeamFoundationRequestContext requestContext,
    string uri
)
public:
String^ GetArtifactUrl(
    TeamFoundationRequestContext^ requestContext, 
    String^ uri
)
member GetArtifactUrl : 
        requestContext:TeamFoundationRequestContext * 
        uri:string -> string
public function GetArtifactUrl(
    requestContext : TeamFoundationRequestContext, 
    uri : String
) : 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