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
- repositoryToRename
Type: Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository
- newName
Type: System.String
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<GitRepository>
.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.