Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
containerId
Type: System.Int64container id
folderSourcePath
Type: System.StringThe source folder
folderTargetPath
Type: System.StringThe target folder
Return Value
Type: System.Collections.Generic.List<FileContainerItem>
.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.