Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Reference for Team Foundation Server SDK
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)

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

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

Parameters

newName

The new name.

newComment

The new comment.

newMappings

The new mappings.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker