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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringThe name of the workspace to update the local version.
ownerName
Type: System.StringThe owner of the workspace.
updates
Type: array<Microsoft.TeamFoundation.VersionControl.Server.BaseLocalVersionUpdate[]Array of local version updates.
maxClientPathLength
Type: Microsoft.TeamFoundation.VersionControl.Common.PathLengthThe maximum client supported server path length.
.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.