TfsGitRepositoryInfo Class
A simple data structure that has a Git repository ID, name and teamProjectUri.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Git.Server.TfsGitRepositoryInfo
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Class TfsGitRepositoryInfo
public class TfsGitRepositoryInfo
public ref class TfsGitRepositoryInfo
type TfsGitRepositoryInfo = class end
public class TfsGitRepositoryInfo
The TfsGitRepositoryInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
DefaultBranch | Returns the default branch for this repository | |
Name | Every Git repository has a name. The name is unique in the scope of the collection. | |
RepositoryId | A Team Project Collection may contain multiple Git repositories. They are differentiated by their name as well as by their repository ID. | |
TeamProjectUri | The uri for the team project that owns this Git Repository. Currently, a team project can only have one Git Repository |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.