This is used to create a team project and all the infrastructure surrounding it. Permissions, checkin notes, users, etc.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Sub CreateTeamProjectFolder ( _
    teamProjectOptions As TeamProjectFolderOptions _
)
[WebMethodAttribute]
public void CreateTeamProjectFolder(
    TeamProjectFolderOptions teamProjectOptions
)
[WebMethodAttribute]
public:
void CreateTeamProjectFolder(
    TeamProjectFolderOptions^ teamProjectOptions
)
[<WebMethodAttribute>]
member CreateTeamProjectFolder : 
        teamProjectOptions:TeamProjectFolderOptions -> unit
public function CreateTeamProjectFolder(
    teamProjectOptions : TeamProjectFolderOptions
)
Parameters
- teamProjectOptions 
 Type: Microsoft.TeamFoundation.VersionControl.Server.TeamProjectFolderOptions- Settings used to create the team project. 
.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.