TeamFoundationFileContainerService.RenameFolder 方法

向源文件夹重命名为目标文件夹在以下情况下:-源文件夹存在且不包含挂起上载-目标文件夹不存在并且不是源文件夹的子文件夹

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
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
)

参数

返回值

类型:System.Collections.Generic.List<FileContainerItem>

.NET Framework 安全性

请参阅

参考

TeamFoundationFileContainerService 类

Microsoft.TeamFoundation.Framework.Server 命名空间