Workspace.Update Method

Update a workspace. The name, comment, and working folders may be changed. The database is the one referenced by changedWorkspace (workspaces cannot be moved across databases).

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

Syntax

'Declaration
Public Sub Update ( _
    newName As String, _
    newComment As String, _
    newMappings As WorkingFolder() _
)
'Usage
Dim instance As Workspace 
Dim newName As String 
Dim newComment As String 
Dim newMappings As WorkingFolder()

instance.Update(newName, newComment, newMappings)
public void Update(
    string newName,
    string newComment,
    WorkingFolder[] newMappings
)
public:
void Update(
    String^ newName, 
    String^ newComment, 
    array<WorkingFolder^>^ newMappings
)
public function Update(
    newName : String, 
    newComment : String, 
    newMappings : WorkingFolder[]
)

Parameters

.NET Framework Security

See Also

Reference

Workspace Class

Workspace Members

Microsoft.TeamFoundation.VersionControl.Client Namespace