TeamFoundationVersionControlService.UpdateLocalVersion Method (TeamFoundationRequestContext, String, String, array<BaseLocalVersionUpdate )

Called to update the local version of an item which is stored for a workspace.

Clients should call this after successfully calling DownloadFile() based on instructions from Get().

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

Syntax

'Declaration
Public Sub UpdateLocalVersion ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    ownerName As String, _
    updates As BaseLocalVersionUpdate() _
)
public void UpdateLocalVersion(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string ownerName,
    BaseLocalVersionUpdate[] updates
)
public:
void UpdateLocalVersion(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ ownerName, 
    array<BaseLocalVersionUpdate^>^ updates
)
member UpdateLocalVersion : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        ownerName:string * 
        updates:BaseLocalVersionUpdate[] -> unit
public function UpdateLocalVersion(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    ownerName : String, 
    updates : BaseLocalVersionUpdate[]
)

Parameters

  • workspaceName
    Type: System.String

    The name of the workspace to update the local version.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

UpdateLocalVersion Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace