Delen via


TswaHyperlinkBuilder.GetHomeUrl Method (Uri, String)

Gets Team Web Access home URL for a specified project.

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

Syntax

'Declaration
Public Function GetHomeUrl ( _
    projectUri As Uri, _
    accessMappingMoniker As String _
) As Uri
public Uri GetHomeUrl(
    Uri projectUri,
    string accessMappingMoniker
)
public:
Uri^ GetHomeUrl(
    Uri^ projectUri, 
    String^ accessMappingMoniker
)
member GetHomeUrl : 
        projectUri:Uri * 
        accessMappingMoniker:string -> Uri
public function GetHomeUrl(
    projectUri : Uri, 
    accessMappingMoniker : String
) : Uri

Parameters

  • projectUri
    Type: System.Uri

    URI of the project to be selected in the home page of Team Web Access.

  • accessMappingMoniker
    Type: System.String

    A moniker for the desired access mapping.

Return Value

Type: System.Uri
Team Web Access home URL for a specified project.

.NET Framework Security

See Also

Reference

TswaHyperlinkBuilder Class

GetHomeUrl Overload

Microsoft.TeamFoundation.Common Namespace