向源文件夹重命名为目标文件夹在以下情况下:-源文件夹存在且不包含挂起上载-目标文件夹不存在并且不是源文件夹的子文件夹
命名空间: 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
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- containerId
类型:System.Int64
容器 ID
- folderSourcePath
类型:System.String
源文件夹
- folderTargetPath
类型:System.String
目标文件夹
返回值
类型:System.Collections.Generic.List<FileContainerItem>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。