TeamFoundationVersionControlService.DeleteTeamProjectFolder 方法

用于删除团队项目文件夹。

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

语法

声明
Public Function DeleteTeamProjectFolder ( _
    requestContext As TeamFoundationRequestContext, _
    teamProject As String, _
    teamProjectUri As String, _
    startCleanup As Boolean, _
    deleteWorkspaceState As Boolean _
) As Boolean
public bool DeleteTeamProjectFolder(
    TeamFoundationRequestContext requestContext,
    string teamProject,
    string teamProjectUri,
    bool startCleanup,
    bool deleteWorkspaceState
)

参数

  • startCleanup
    类型:System.Boolean
    True,则应立即移除项目文件夹。
  • deleteWorkspaceState
    类型:System.Boolean
    True,如果本地版本行,等待添加和工作文件夹映射应移除此文件夹下。

返回值

类型:System.Boolean
True,如果操作成功和错误;如果未成功。

.NET Framework 安全性

请参见

参考

TeamFoundationVersionControlService 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间