Partager via


TeamFoundationGitRepositoryService.QueryRepositories Method

Returns an informational data structure about each Git repository on this Team Project Collection.

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

Syntax

'Declaration
Public Function QueryRepositories ( _
    requestContext As TeamFoundationRequestContext, _
    projectUriFilter As String _
) As IList(Of TfsGitRepositoryInfo)
public IList<TfsGitRepositoryInfo> QueryRepositories(
    TeamFoundationRequestContext requestContext,
    string projectUriFilter
)
public:
IList<TfsGitRepositoryInfo^>^ QueryRepositories(
    TeamFoundationRequestContext^ requestContext, 
    String^ projectUriFilter
)
member QueryRepositories : 
        requestContext:TeamFoundationRequestContext * 
        projectUriFilter:string -> IList<TfsGitRepositoryInfo> 
public function QueryRepositories(
    requestContext : TeamFoundationRequestContext, 
    projectUriFilter : String
) : IList<TfsGitRepositoryInfo>

Parameters

Return Value

Type: System.Collections.Generic.IList<TfsGitRepositoryInfo>
The set of Git repositories on this Team Project Collection

.NET Framework Security

See Also

Reference

TeamFoundationGitRepositoryService Class

Microsoft.TeamFoundation.Git.Server Namespace