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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.