Partager via


TeamFoundationGitRepositoryService.RenameRepository Method

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

Syntax

'Declaration
Public Function RenameRepository ( _
    requestContext As TeamFoundationRequestContext, _
    teamProjectUri As String, _
    repositoryId As Guid, _
    newRepositoryName As String _
) As TfsGitRepository
public TfsGitRepository RenameRepository(
    TeamFoundationRequestContext requestContext,
    string teamProjectUri,
    Guid repositoryId,
    string newRepositoryName
)
public:
TfsGitRepository^ RenameRepository(
    TeamFoundationRequestContext^ requestContext, 
    String^ teamProjectUri, 
    Guid repositoryId, 
    String^ newRepositoryName
)
member RenameRepository : 
        requestContext:TeamFoundationRequestContext * 
        teamProjectUri:string * 
        repositoryId:Guid * 
        newRepositoryName:string -> TfsGitRepository
public function RenameRepository(
    requestContext : TeamFoundationRequestContext, 
    teamProjectUri : String, 
    repositoryId : Guid, 
    newRepositoryName : String
) : TfsGitRepository

Parameters

Return Value

Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository

.NET Framework Security

See Also

Reference

TeamFoundationGitRepositoryService Class

Microsoft.TeamFoundation.Git.Server Namespace