Delen via


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

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(), _
    maxClientPathLength As PathLength _
)
public void UpdateLocalVersion(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string ownerName,
    BaseLocalVersionUpdate[] updates,
    PathLength maxClientPathLength
)
public:
void UpdateLocalVersion(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ ownerName, 
    array<BaseLocalVersionUpdate^>^ updates, 
    PathLength maxClientPathLength
)
member UpdateLocalVersion : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        ownerName:string * 
        updates:BaseLocalVersionUpdate[] * 
        maxClientPathLength:PathLength -> unit
public function UpdateLocalVersion(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    ownerName : String, 
    updates : BaseLocalVersionUpdate[], 
    maxClientPathLength : PathLength
)

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