This documentation is archived and is not being maintained.

TeamProject Class

Represents a team project with respect to Version Control functionalities.


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

public sealed class TeamProject

The TeamProject type exposes the following members.

Public propertyArtifactUriGets the artifact uniform resource identifier (URI) for this team project.
Public propertyExclusiveCheckoutGets or sets a flag that describes whether files modified in this team project will be exclusively locked.
Public propertyGetLatestOnCheckoutGets or sets a flag that describes whether to get the latest version of a file on checkout.
Public propertyNameGets the name of this team project.
Public propertyServerItemGets the server path of this project in the repository.
Public propertyTeamFoundationServer Obsolete. Gets the server that is running Team Foundation Server where this team project resides.
Public propertyTeamProjectCollectionGets the TfsTeamProjectCollection where this team project resides.
Public propertyVersionControlServerGets the VersionControlServer that contains this team project.

Public methodEqualsChecks whether this TeamProject instance is equal to another object. (Overrides Object.Equals(Object).)
Public methodGetCheckinNoteFieldsGets the field definitions that are associated with this project.
Public methodGetCheckinPoliciesGets the array of check-in policies for this project.
Public methodGetHashCodeGets the hash code for this TeamProject instance. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSetCheckinNoteFieldsCreates a new set of field definitions that is associated with this project.
Public methodSetCheckinPoliciesSets the check-in policies for this project.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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