Partager via


TeamFoundationGitRepositoryService.FindRepositoryById Method

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

Syntax

'Declaration
Public Overridable Function FindRepositoryById ( _
    requestContext As TeamFoundationRequestContext, _
    repositoryId As Guid _
) As TfsGitRepository
public virtual TfsGitRepository FindRepositoryById(
    TeamFoundationRequestContext requestContext,
    Guid repositoryId
)
public:
virtual TfsGitRepository^ FindRepositoryById(
    TeamFoundationRequestContext^ requestContext, 
    Guid repositoryId
)
abstract FindRepositoryById : 
        requestContext:TeamFoundationRequestContext * 
        repositoryId:Guid -> TfsGitRepository  
override FindRepositoryById : 
        requestContext:TeamFoundationRequestContext * 
        repositoryId:Guid -> TfsGitRepository
public function FindRepositoryById(
    requestContext : TeamFoundationRequestContext, 
    repositoryId : Guid
) : TfsGitRepository

Parameters

Return Value

Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository

.NET Framework Security

See Also

Reference

TeamFoundationGitRepositoryService Class

Microsoft.TeamFoundation.Git.Server Namespace