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

Updates the properties of a workspace.

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

Syntax

'Declaração
Public Sub Update ( _
    newName As String, _
    newOwner As String, _
    newComment As String, _
    newMappings As WorkingFolder(), _
    fixMappingErrors As Boolean _
)
public void Update(
    string newName,
    string newOwner,
    string newComment,
    WorkingFolder[] newMappings,
    bool fixMappingErrors
)
public:
void Update(
    String^ newName, 
    String^ newOwner, 
    String^ newComment, 
    array<WorkingFolder^>^ newMappings, 
    bool fixMappingErrors
)
member Update : 
        newName:string * 
        newOwner:string * 
        newComment:string * 
        newMappings:WorkingFolder[] * 
        fixMappingErrors:bool -> unit 
public function Update(
    newName : String, 
    newOwner : String, 
    newComment : String, 
    newMappings : WorkingFolder[], 
    fixMappingErrors : boolean
)

Parameters

  • fixMappingErrors
    Type: System.Boolean
    True to remove mapping errors that can be safely ignored. False to not remove mapping errors.

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