다음을 통해 공유


TfsGitRepositoryRefsCollection.AllRefHeads Method

Returns all ref heads in the repository.

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

Syntax

'Declaration
Public Function AllRefHeads ( _
    requestContext As TeamFoundationRequestContext _
) As IEnumerable(Of TfsGitRef)
public IEnumerable<TfsGitRef> AllRefHeads(
    TeamFoundationRequestContext requestContext
)
public:
IEnumerable<TfsGitRef^>^ AllRefHeads(
    TeamFoundationRequestContext^ requestContext
)
member AllRefHeads : 
        requestContext:TeamFoundationRequestContext -> IEnumerable<TfsGitRef> 
public function AllRefHeads(
    requestContext : TeamFoundationRequestContext
) : IEnumerable<TfsGitRef>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<TfsGitRef>
All refs in the repository.

.NET Framework Security

See Also

Reference

TfsGitRepositoryRefsCollection Class

Microsoft.TeamFoundation.Git.Server Namespace