Partager via


TeamFoundationGitRepositoryService.CreateRepository Method

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

Syntax

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