Partager via


TeamFoundationGitRepositoryService.FindRepositoryByName Method

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

Syntax

'Declaration
Public Function FindRepositoryByName ( _
    requestContext As TeamFoundationRequestContext, _
    projectName As String, _
    repositoryName As String _
) As TfsGitRepository
public TfsGitRepository FindRepositoryByName(
    TeamFoundationRequestContext requestContext,
    string projectName,
    string repositoryName
)
public:
TfsGitRepository^ FindRepositoryByName(
    TeamFoundationRequestContext^ requestContext, 
    String^ projectName, 
    String^ repositoryName
)
member FindRepositoryByName : 
        requestContext:TeamFoundationRequestContext * 
        projectName:string * 
        repositoryName:string -> TfsGitRepository
public function FindRepositoryByName(
    requestContext : TeamFoundationRequestContext, 
    projectName : 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