Workspace.Update 方法 (String, String, String, array<WorkingFolder , Boolean)

更新工作区域的属性。

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

语法

声明
Public Sub Update ( _
    newName As String, _
    newOwner As String, _
    newComment As String, _
    newMappings As WorkingFolder(), _
    removeUnparentedCloaks As Boolean _
)
public void Update(
    string newName,
    string newOwner,
    string newComment,
    WorkingFolder[] newMappings,
    bool removeUnparentedCloaks
)

参数

  • removeUnparentedCloaks
    类型:System.Boolean
    true 移除映射可以安全地忽略的错误。错误不会取消映射错误。

备注

可以更改名称、注释和工作文件夹。储存库。changedWorkspace 引用。(不能将在储存库上的工作区域。)

.NET Framework 安全性

请参见

参考

Workspace 类

Update 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间