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 | |
---|---|---|
ArtifactUri | Gets the artifact uniform resource identifier (URI) for this team project. | |
ExclusiveCheckout | Gets or sets a flag that describes whether files modified in this team project will be exclusively locked. | |
GetLatestOnCheckout | Gets or sets a flag that describes whether to get the latest version of a file on checkout. | |
Name | Gets the name of this team project. | |
ServerItem | Gets the server path of this project in the repository. | |
TeamFoundationServer | Obsolete. Gets the server that is running Team Foundation Server where this team project resides. | |
TeamProjectCollection | Gets the TfsTeamProjectCollection where this team project resides. | |
VersionControlServer | Gets the VersionControlServer that contains this team project. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Checks whether this TeamProject instance is equal to another object. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCheckinNoteFields | Gets the field definitions that are associated with this project. | |
GetCheckinPolicies | Gets the array of check-in policies for this project. | |
GetHashCode | Gets the hash code for this TeamProject instance. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetCheckinNoteFields | Creates a new set of field definitions that is associated with this project. | |
SetCheckinPolicies | Sets the check-in policies for this project. | |
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.