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
Public property Description
Public property Identity
Public property Name Team's name
Public property Project Team Project Uri.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMembers Get team member identities.
Public method 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.
Public method GetProperty Property accessor. Will throw if not found.
Public method 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.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveProperty Remove property, if it exists.
Public method SetProperty Sets a property, will overwrite if already set.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.Client Namespace