TeamFoundationFileContainerService.CopyFolder Method

Copy 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 CopyFolder ( _
    requestContext As TeamFoundationRequestContext, _
    containerId As Long, _
    folderSourcePath As String, _
    folderTargetPath As String _
) As List(Of FileContainerItem)
public List<FileContainerItem> CopyFolder(
    TeamFoundationRequestContext requestContext,
    long containerId,
    string folderSourcePath,
    string folderTargetPath
)
public:
List<FileContainerItem^>^ CopyFolder(
    TeamFoundationRequestContext^ requestContext, 
    long long containerId, 
    String^ folderSourcePath, 
    String^ folderTargetPath
)
member CopyFolder : 
        requestContext:TeamFoundationRequestContext * 
        containerId:int64 * 
        folderSourcePath:string * 
        folderTargetPath:string -> List<FileContainerItem> 
public function CopyFolder(
    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