共用方式為


TpcTeamStore Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Integration.TpcTeamStore

Namespace:  Microsoft.VisualStudio.Services.Integration
Assembly:  Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)

Syntax

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

The TpcTeamStore type exposes the following members.

Properties

  Name Description
Public property SupportsTeam Property used to determine if the server we are talking to supports the required services.

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 GetDefaultTeam Retrieves the default TeamConfiguration for the specified project, or null if the current is not part of the default team.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetTeam(String, Guid) Gets the corresponding TeamConfiguration object for the project.
Public method GetTeam(String, String) Gets the corresponding TeamConfiguration object for the project.
Public method GetTeams Gets all the corresponding TeamConfiguration objects for the project that the current user belongs to.
Public method GetTeamsForCurrentUser Gets all the Teams the active user is a member of for the selected project Uris (selected in the 'Initialize' or via the 'GetTeam' methods).
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeTeamCache Initializes the cache with the TeamConfiguration for the specified set of projects.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Services.Integration Namespace