Share via


TeamFoundationGitRepositoryService.FindRepositoryByNameAndUri Method

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Function FindRepositoryByNameAndUri ( _
    requestContext As TeamFoundationRequestContext, _
    teamProjectUri As String, _
    repositoryName As String _
) As TfsGitRepository
public TfsGitRepository FindRepositoryByNameAndUri(
    TeamFoundationRequestContext requestContext,
    string teamProjectUri,
    string repositoryName
)
public:
TfsGitRepository^ FindRepositoryByNameAndUri(
    TeamFoundationRequestContext^ requestContext, 
    String^ teamProjectUri, 
    String^ repositoryName
)
member FindRepositoryByNameAndUri : 
        requestContext:TeamFoundationRequestContext * 
        teamProjectUri:string * 
        repositoryName:string -> TfsGitRepository
public function FindRepositoryByNameAndUri(
    requestContext : TeamFoundationRequestContext, 
    teamProjectUri : String, 
    repositoryName : String
) : TfsGitRepository

Parameters

Return Value

Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository

.NET Framework Security

See Also

Reference

TeamFoundationGitRepositoryService Class

Microsoft.TeamFoundation.Git.Server Namespace