Freigeben über


TeamFoundationGitRepositoryService Class

This collection-level service is the entry point for all Git functionality integrated with Team Foundation Server.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Git.Server.TeamFoundationGitRepositoryService

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

Syntax

'Declaration
Public Class TeamFoundationGitRepositoryService _
    Implements ITeamFoundationService
public class TeamFoundationGitRepositoryService : ITeamFoundationService
public ref class TeamFoundationGitRepositoryService : ITeamFoundationService
type TeamFoundationGitRepositoryService =  
    class 
        interface ITeamFoundationService 
    end
public class TeamFoundationGitRepositoryService implements ITeamFoundationService

The TeamFoundationGitRepositoryService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationGitRepositoryService

Top

Methods

  Name Description
Public method CreateRepository
Public method CreateTeamProjectRepository
Public method DeleteRepositoriesForTeamProject
Public method DeleteRepository
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindRepositoryById
Public method FindRepositoryByName
Public method FindRepositoryByNameAndUri
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HasReadPermission Checks the provided request context to ensure that it has permission to view the set of Git repositories on this service host.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryRepositories Returns an informational data structure about each Git repository on this Team Project Collection.
Public method RenameRepository
Public method RepositoryFromRepositoryInfo Given a TfsGitRepositoryInfo data structure object, returns a full TfsGitRepository object that can be used to perform actions.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Git.Server Namespace