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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- teamProjectUri
Type: System.String
- repositoryId
Type: System.Guid
- newRepositoryName
Type: System.String
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.