Repository5.UpdateLocalVersion Method
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
<WebMethodAttribute> _
Public Sub UpdateLocalVersion ( _
workspaceName As String, _
ownerName As String, _
updates As ServerItemLocalVersionUpdate(), _
maxClientPathLength As Integer _
)
[WebMethodAttribute]
public void UpdateLocalVersion(
string workspaceName,
string ownerName,
ServerItemLocalVersionUpdate[] updates,
int maxClientPathLength
)
[WebMethodAttribute]
public:
void UpdateLocalVersion(
String^ workspaceName,
String^ ownerName,
array<ServerItemLocalVersionUpdate^>^ updates,
int maxClientPathLength
)
[<WebMethodAttribute>]
member UpdateLocalVersion :
workspaceName:string *
ownerName:string *
updates:ServerItemLocalVersionUpdate[] *
maxClientPathLength:int -> unit
public function UpdateLocalVersion(
workspaceName : String,
ownerName : String,
updates : ServerItemLocalVersionUpdate[],
maxClientPathLength : int
)
Parameters
- workspaceName
Type: System.String
- ownerName
Type: System.String
updates
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ServerItemLocalVersionUpdate[]Array of local version updates to perform.
maxClientPathLength
Type: System.Int32The 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.