Delen via


TeamFoundationFileContainerService.RenameFolder Method

Renames the source folder to the target folder under the following conditions: - Source folder exists and contains no pending uploads - Target folder does not exist and is not a child of the source folder

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

Syntax

'Declaration
Public Function RenameFolder ( _
    requestContext As TeamFoundationRequestContext, _
    containerId As Long, _
    folderSourcePath As String, _
    folderTargetPath As String _
) As List(Of FileContainerItem)
public List<FileContainerItem> RenameFolder(
    TeamFoundationRequestContext requestContext,
    long containerId,
    string folderSourcePath,
    string folderTargetPath
)
public:
List<FileContainerItem^>^ RenameFolder(
    TeamFoundationRequestContext^ requestContext, 
    long long containerId, 
    String^ folderSourcePath, 
    String^ folderTargetPath
)
member RenameFolder : 
        requestContext:TeamFoundationRequestContext * 
        containerId:int64 * 
        folderSourcePath:string * 
        folderTargetPath:string -> List<FileContainerItem> 
public function RenameFolder(
    requestContext : TeamFoundationRequestContext, 
    containerId : long, 
    folderSourcePath : String, 
    folderTargetPath : String
) : List<FileContainerItem>

Parameters

Return Value

Type: System.Collections.Generic.List<FileContainerItem>

.NET Framework Security

See Also

Reference

TeamFoundationFileContainerService Class

Microsoft.TeamFoundation.Framework.Server Namespace