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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context with which the request should be issued.
Return Value
Type: System.Collections.Generic.IEnumerable<TfsGitRef>
All refs in the repository.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.