Share via


TeamProjectFolderOptions.SourceProject Property

The branch source is used to mark the source location in the tree to branch the TeamProject from. The branches are always created by branching the latest version of the source tree. If the Source Project is not specified then the team project folder is created as a new emtpy folder.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property SourceProject As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string SourceProject { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ SourceProject {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member SourceProject : string with get, set
function get SourceProject () : String 
function set SourceProject (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

TeamProjectFolderOptions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace