Share via


WorkspaceVersionSpec Class

Specifies a version based on a workspace name/owner.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
    Microsoft.TeamFoundation.VersionControl.Server.WorkspaceVersionSpec

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

Syntax

'Declaration
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public Class WorkspaceVersionSpec _
    Inherits VersionSpec
[CallOnDeserializationAttribute("AfterDeserialize")]
public class WorkspaceVersionSpec : VersionSpec
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class WorkspaceVersionSpec : public VersionSpec
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type WorkspaceVersionSpec =  
    class 
        inherit VersionSpec 
    end
public class WorkspaceVersionSpec extends VersionSpec

The WorkspaceVersionSpec type exposes the following members.

Constructors

  Name Description
Public method WorkspaceVersionSpec

Top

Properties

  Name Description
Public property Name
Public property OwnerDisplayName
Public property OwnerName
Public property OwnerUniqueName

Top

Methods

  Name Description
Public method CompareTo (Overrides VersionSpec.CompareTo(VersionSpec).)
Public method Equals (Inherited from VersionSpec.)
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 (Overrides VersionSpec.GetHashCode().)
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 ToChangeset Translates this version spec into a changeset number for the given item spec. If the version specifier cannot be represented as a changeset, returns UnknownChangeset. (Inherited from VersionSpec.)
Public method ToDBString (Overrides VersionSpec.ToDBString(TeamFoundationRequestContext).)
Public method ToString (Overrides Object.ToString().)

Top

Fields

  Name Description
Protected field m_useMappings (Inherited from VersionSpec.)

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