Share via


TfsGitRepositoryInfo.DefaultBranch Property

Returns the default branch for this repository

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

Syntax

'Declaration
Public ReadOnly Property DefaultBranch As String
public string DefaultBranch { get; }
public:
property String^ DefaultBranch {
    String^ get ();
}
member DefaultBranch : string with get
function get DefaultBranch () : String

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

TfsGitRepositoryInfo Class

Microsoft.TeamFoundation.Git.Server Namespace