This documentation is archived and is not being maintained.

TfsGitRepositoryInfo Class

Visual Studio 2013

A simple data structure that has a Git repository ID, name and teamProjectUri.

System.Object
  Microsoft.TeamFoundation.Git.Server.TfsGitRepositoryInfo

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

'Declaration
Public Class TfsGitRepositoryInfo

The TfsGitRepositoryInfo type exposes the following members.

  NameDescription
Public propertyDefaultBranchReturns the default branch for this repository
Public propertyNameEvery Git repository has a name. The name is unique in the scope of the collection.
Public propertyRepositoryIdA Team Project Collection may contain multiple Git repositories. They are differentiated by their name as well as by their repository ID.
Public propertyTeamProjectUriThe uri for the team project that owns this Git Repository. Currently, a team project can only have one Git Repository
Top

  NameDescription
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 methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
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: