This documentation is archived and is not being maintained.

TeamFoundationGitRepositoryService Class

Visual Studio 2013

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

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

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

'Declaration
Public Class TeamFoundationGitRepositoryService _
	Implements ITeamFoundationService

The TeamFoundationGitRepositoryService type exposes the following members.

  NameDescription
Public methodCreateRepository
Public methodCreateTeamProjectRepository
Public methodDeleteRepositoriesForTeamProject
Public methodDeleteRepository
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFindRepositoryById
Public methodFindRepositoryByName
Public methodFindRepositoryByNameAndUri
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHasReadPermissionChecks the provided request context to ensure that it has permission to view the set of Git repositories on this service host.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodQueryRepositoriesReturns an informational data structure about each Git repository on this Team Project Collection.
Public methodRenameRepository
Public methodRepositoryFromRepositoryInfoGiven a TfsGitRepositoryInfo data structure object, returns a full TfsGitRepository object that can be used to perform actions.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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