Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Updates the properties of a workspace.
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() _
)
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
newName
Type: System.StringThe new name.
newComment
Type: System.StringThe new comment.
newMappings
Type: array<Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder[]The new mappings.
Remarks
You can change the name, the comment, and the working folders. The repository is referenced by changedWorkspace. (You cannot move workspaces across repositories.)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.