TeamFoundationLinkingService.GetArtifactUrl Method (TeamFoundationRequestContext, String)
Get URL for artifact for addressability in links.
This version will get the server URL from the location service.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
uri
Type: System.StringArtifact URI.
Return Value
Type: System.String
The URL for the artifact
.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.