Delen via


Changeset Class

Represents a changeset as returned by the QueryHistory command

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.Changeset

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

Syntax

'Declaration
<RequiredClientServiceAttribute("VersionControlServer")> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public Class Changeset _
    Implements ICacheable
[RequiredClientServiceAttribute("VersionControlServer")]
[CallOnDeserializationAttribute("AfterDeserialize")]
public class Changeset : ICacheable
[RequiredClientServiceAttribute(L"VersionControlServer")]
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class Changeset : ICacheable
[<RequiredClientServiceAttribute("VersionControlServer")>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type Changeset =  
    class 
        interface ICacheable 
    end
public class Changeset implements ICacheable

The Changeset type exposes the following members.

Constructors

  Name Description
Public method Changeset

Top

Properties

  Name Description
Public property Changes Individual per-item changes that are contained in this changeset
Public property ChangesetId The changeset number. Monotonically increases over time
Public property CheckinNote This is the checkinNote associated with this changeset
Public property Comment The checkin comment
Public property Committer Authoritative name of user who committed this change
Public property CommitterDisplayName Display name of user who committed this change
Public property CreationDate Timestamp when changeset was committed
Public property Owner Authoritative name of user who owns this change. May differ from Committer if the change was imported or committed on behalf of another user.
Public property OwnerDisplayName Display name of user who owns this change. May differ from Committer if the change was imported or committed on behalf of another user.
Public property PolicyOverride The policy override is used to record a failure of a policy when the client tried to checkin. Checkin's are not prevented and the client can override them, but must supply a reason why they were overridden.
Public property Properties Changeset properties

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 GetCachedSize
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 a string that represents the current object. (Inherited from Object.)

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