Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
| .gif) | ArtifactUri | Gets the artifact uniform resource identifier (URI) for this team project. | 
| .gif) | ExclusiveCheckout | Gets or sets a flag that describes whether files modified in this team project will be exclusively locked. | 
| .gif) | GetLatestOnCheckout | Gets or sets a flag that describes whether to get the latest version of a file on checkout. | 
| .gif) | Name | Gets the name of this team project. | 
| .gif) | ServerItem | Gets the server path of this project in the repository. | 
| .gif) | TeamFoundationServer | Obsolete. Gets the server that is running Team Foundation Server where this team project resides. | 
| .gif) | TeamProjectCollection | Gets the TfsTeamProjectCollection where this team project resides. | 
| .gif) | VersionControlServer | Gets the VersionControlServer that contains this team project. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Checks whether this TeamProject instance is equal to another object. (Overrides Object.Equals(Object).) | 
| .gif) | GetCheckinNoteFields | Gets the field definitions that are associated with this project. | 
| .gif) | GetCheckinPolicies | Gets the array of check-in policies for this project. | 
| .gif) | GetHashCode | Gets the hash code for this TeamProject instance. (Overrides Object.GetHashCode().) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | SetCheckinNoteFields | Creates a new set of field definitions that is associated with this project. | 
| .gif) | SetCheckinPolicies | Sets the check-in policies for this project. | 
| .gif) | 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.