共用方式為


ServerItemLocalVersionUpdate Class

Class representing a single UpdateLocalVersion request.

Allows UpdateLocalVersion() to take an array of requests.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.BaseLocalVersionUpdate
    Microsoft.TeamFoundation.VersionControl.Server.ServerItemLocalVersionUpdate

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

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
Public Class ServerItemLocalVersionUpdate _
    Inherits BaseLocalVersionUpdate
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public class ServerItemLocalVersionUpdate : BaseLocalVersionUpdate
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
public ref class ServerItemLocalVersionUpdate : public BaseLocalVersionUpdate
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
type ServerItemLocalVersionUpdate =  
    class 
        inherit BaseLocalVersionUpdate 
    end
public class ServerItemLocalVersionUpdate extends BaseLocalVersionUpdate

The ServerItemLocalVersionUpdate type exposes the following members.

Constructors

  Name Description
Public method ServerItemLocalVersionUpdate

Top

Properties

  Name Description
Public property ItemId ItemID of the item being updated. This is sent from the server to the client when Reconcile is called. It is not used for calling UpdateLocalVersion.
Public property LocalVersion (Inherited from BaseLocalVersionUpdate.)
Public property SourceServerItem For a committed item, this is the item in committed space else in pending space;
Public property TargetLocalItem (Inherited from BaseLocalVersionUpdate.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns debugging information as logged in m_request (Overrides Object.ToString().)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Server Namespace