Partager via


TfsConnection.GetFullyQualifiedUriForName Method

This function assumes the name passed in will be either the friendly name of the server or the url to the root of the collection. Url's fully qualified to the location service page should not be passed in here.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Protected Shared Function GetFullyQualifiedUriForName ( _
    name As String, _
    locationServiceRelativePath As String, _
    getRegisteredUri As Func(Of String, Uri) _
) As Uri
protected static Uri GetFullyQualifiedUriForName(
    string name,
    string locationServiceRelativePath,
    Func<string, Uri> getRegisteredUri
)
protected:
static Uri^ GetFullyQualifiedUriForName(
    String^ name, 
    String^ locationServiceRelativePath, 
    Func<String^, Uri^>^ getRegisteredUri
)
static member GetFullyQualifiedUriForName : 
        name:string * 
        locationServiceRelativePath:string * 
        getRegisteredUri:Func<string, Uri> -> Uri
protected static function GetFullyQualifiedUriForName(
    name : String, 
    locationServiceRelativePath : String, 
    getRegisteredUri : Func<String, Uri>
) : Uri

Parameters

Return Value

Type: System.Uri

.NET Framework Security

See Also

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace