Compartilhar via


Método GitHttpClient.RenameRepositoryAsync

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

Sintaxe

'Declaração
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
)

Parâmetros

Valor de retorno

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

Segurança do .NET Framework

Consulte também

Referência

GitHttpClient Classe

Namespace Microsoft.TeamFoundation.SourceControl.WebApi