Partager via


TeamFoundationGitRepositoryService.CreateTeamProjectRepository Method

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

Syntax

'Declaration
Public Function CreateTeamProjectRepository ( _
    requestContext As TeamFoundationRequestContext, _
    teamProjectUri As String, _
    repositoryName As String, _
    permissions As AccessControlEntry() _
) As TfsGitRepository
public TfsGitRepository CreateTeamProjectRepository(
    TeamFoundationRequestContext requestContext,
    string teamProjectUri,
    string repositoryName,
    AccessControlEntry[] permissions
)
public:
TfsGitRepository^ CreateTeamProjectRepository(
    TeamFoundationRequestContext^ requestContext, 
    String^ teamProjectUri, 
    String^ repositoryName, 
    array<AccessControlEntry^>^ permissions
)
member CreateTeamProjectRepository : 
        requestContext:TeamFoundationRequestContext * 
        teamProjectUri:string * 
        repositoryName:string * 
        permissions:AccessControlEntry[] -> TfsGitRepository
public function CreateTeamProjectRepository(
    requestContext : TeamFoundationRequestContext, 
    teamProjectUri : String, 
    repositoryName : String, 
    permissions : AccessControlEntry[]
) : TfsGitRepository

Parameters

Return Value

Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository

.NET Framework Security

See Also

Reference

TeamFoundationGitRepositoryService Class

Microsoft.TeamFoundation.Git.Server Namespace