Workspace.Update Method (String, String, array<WorkingFolder )

Updates the properties of a workspace.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

声明
Public Sub Update ( _
    newName As String, _
    newComment As String, _
    newMappings As WorkingFolder() _
)
public void Update(
    string newName,
    string newComment,
    WorkingFolder[] newMappings
)
public:
void Update(
    String^ newName, 
    String^ newComment, 
    array<WorkingFolder^>^ newMappings
)
member Update : 
        newName:string * 
        newComment:string * 
        newMappings:WorkingFolder[] -> unit 
public function Update(
    newName : String, 
    newComment : String, 
    newMappings : WorkingFolder[]
)

Parameters

Remarks

The name, comment, and working folders may be changed. The repository is the one that is referenced by changedWorkspace (workspaces cannot be moved across repositories).

.NET Framework Security

See Also

Reference

Workspace Class

Update Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace