Поделиться через


TfsTeamService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.TfsTeamService

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

Syntax

'Declaration
Public Class TfsTeamService
public class TfsTeamService
public ref class TfsTeamService
type TfsTeamService =  class end
public class TfsTeamService

The TfsTeamService type exposes the following members.

Constructors

  Name Description
Public method TfsTeamService

Top

Methods

  Name Description
Public method CreateTeam Create a Team on server that has optional properties
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 GetDefaultTeam Gets default team for the project
Public method GetDefaultTeamId Returns default team id for the project.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryTeams(String) Query all Team groups in given project.
Public method QueryTeams(IdentityDescriptor) Query all Team groups that given user is a member of.
Public method QueryTeams(IdentityDescriptor, List<String>) Query all Team groups that given user is a member of.
Public method ReadTeam(Guid, List<String>) Read Team group by id
Public method ReadTeam(IdentityDescriptor, List<String>) Read Team group by descriptor
Public method ReadTeam(String, String, List<String>) Read Team group by name in given project
Public method SetDefaultTeam Sets default team for the project
Public method SetDefaultTeamId Sets default team for the project
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateTeam Persist Team updates.

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