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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- teamProjectUri
Type: System.String
- repositoryName
Type: System.String
- permissions
Type: array<Microsoft.TeamFoundation.Framework.Server.AccessControlEntry[]
Return Value
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository
.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.