TeamFoundationTeam Class
This is a wrapper class for a team identity that makes it convenient for working with properties. It also provides helper methods to create, update, query and read teams on the server.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.TeamFoundationTeam
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Class TeamFoundationTeam
public class TeamFoundationTeam
public ref class TeamFoundationTeam
type TeamFoundationTeam = class end
public class TeamFoundationTeam
The TeamFoundationTeam type exposes the following members.
Properties
Name | Description | |
---|---|---|
Description | ||
Identity | ||
Name | Team's name | |
Project | Team Project Uri. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from 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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMembers | Get team member identities. | |
GetProperties | Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. | |
GetProperty | Property accessor. Will throw if not found. | |
GetTeamPropertiesView<T> | Creates and caches a view object for the team that simplifies access to complex properties that require additional processing such as converting id of a TFS artifact to a meaningful text, that is from work item tracking area id to area path. If a view object is found in the cache for a given type, cached object will be returned. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveProperty | Remove property, if it exists. | |
SetProperty | Sets a property, will overwrite if already set. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetProperty | Property accessor. Will return null if not found. |
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.