Partager via


GitHttpClient.RenameRepositoryAsync Method

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
Public Function RenameRepositoryAsync ( _
    repositoryToRename As GitRepository, _
    newName As String, _
    userState As Object _
) As Task(Of GitRepository)
public Task<GitRepository> RenameRepositoryAsync(
    GitRepository repositoryToRename,
    string newName,
    Object userState
)
public:
Task<GitRepository^>^ RenameRepositoryAsync(
    GitRepository^ repositoryToRename, 
    String^ newName, 
    Object^ userState
)
member RenameRepositoryAsync : 
        repositoryToRename:GitRepository * 
        newName:string * 
        userState:Object -> Task<GitRepository> 
public function RenameRepositoryAsync(
    repositoryToRename : GitRepository, 
    newName : String, 
    userState : Object
) : Task<GitRepository>

Parameters

Return Value

Type: System.Threading.Tasks.Task<GitRepository>

.NET Framework Security

See Also

Reference

GitHttpClient Class

Microsoft.TeamFoundation.SourceControl.WebApi Namespace