Partager via


TeamProject Class

Represents a team project with respect to Version Control functionalities.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.TeamProject

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

Syntax

'Declaration
Public NotInheritable Class TeamProject
public sealed class TeamProject
public ref class TeamProject sealed
[<Sealed>]
type TeamProject =  class end
public final class TeamProject

The TeamProject type exposes the following members.

Properties

  Name Description
Public property ArtifactUri Gets the artifact uniform resource identifier (URI) for this team project.
Public property ExclusiveCheckout Gets or sets a flag that describes whether files modified in this team project will be exclusively locked.
Public property GetLatestOnCheckout Gets or sets a flag that describes whether to get the latest version of a file on checkout.
Public property Name Gets the name of this team project.
Public property ServerItem Gets the server path of this project in the repository.
Public property TeamFoundationServer Obsolete. Gets the server that is running Team Foundation Server where this team project resides.
Public property TeamProjectCollection Gets the TfsTeamProjectCollection where this team project resides.
Public property VersionControlServer Gets the VersionControlServer that contains this team project.

Top

Methods

  Name Description
Public method Equals Checks whether this TeamProject instance is equal to another object. (Overrides Object.Equals(Object).)
Public method GetCheckinNoteFields Gets the field definitions that are associated with this project.
Public method GetCheckinPolicies Gets the array of check-in policies for this project.
Public method GetHashCode Gets the hash code for this TeamProject instance. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method SetCheckinNoteFields Creates a new set of field definitions that is associated with this project.
Public method SetCheckinPolicies Sets the check-in policies for this project.
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.Client Namespace