Partager via


TeamProjectCollectionService Class

The TeamProjectCollectionService is used to keep track of state information about project collection management between requests. One capability is to provide a round-robin list of collection deployment servers used to create collections in a semi load balanced way.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamProjectCollectionService

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationServicingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationCatalogService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationDatabaseSettings))> _
Public NotInheritable Class TeamProjectCollectionService _
    Implements ITeamFoundationService, IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationServicingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationDatabaseSettings))]
public sealed class TeamProjectCollectionService : ITeamFoundationService, 
    IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationServicingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationDatabaseSettings))]
public ref class TeamProjectCollectionService sealed : ITeamFoundationService, 
    IDisposable
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationServicingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationCatalogService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationDatabaseSettings))>]
type TeamProjectCollectionService =  
    class 
        interface ITeamFoundationService 
        interface IDisposable 
    end
public final class TeamProjectCollectionService implements ITeamFoundationService, IDisposable

The TeamProjectCollectionService type exposes the following members.

Constructors

  Name Description
Public method TeamProjectCollectionService

Top

Methods

  Name Description
Public method CheckCollectionIsDetachable
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetCollectionProperties(TeamFoundationRequestContext, ServiceHostFilterFlags)
Public method GetCollectionProperties(TeamFoundationRequestContext, IList<Guid>, ServiceHostFilterFlags) Get team project collection properties.
Public method GetCollectionProperties(TeamFoundationRequestContext, Guid, ServiceHostFilterFlags)
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 QueryApplicationInstanceNode Returns the application instance node that exists below the Organizational Root.
Public method QueryCollectionCatalogNode Returns the node for the collection resource that exist in the organizational tree anywhere below the application instance node.
Public method QueryCollectionCatalogNodes Returns the nodes for the collection resources that exist in the organizational tree below the application instance node.
Public method QueryCollectionCatalogResource Returns the catalog resource for the collection with the provided ID.
Public method QueryCollectionCatalogResources Returns all of the catalog resources that are of the project collection type.
Public method QueueAssignCollection
Public method QueueAttachCollection Attach a team project collection that has been detached from a Team Foundation Server of version 2010 or later.
Public method QueueCreateCollection Queue the creation of a team project collection.
Public method QueueCreateProject Queues a Team Project to be created.
Public method QueueDeleteCollection Queue a job to delete a team project collection.
Public method QueueDeleteProject Queues a Team Project to be deleted.
Public method QueueDetachCollection Queues the snapshot operation for the collection.
Public method QueueExportCollection Queues a collection to be exported from the hosted system.
Public method QueueServiceCollection Queue a job to service a collection.
Public method QueueServiceCollections(TeamFoundationRequestContext, Boolean, array<String[])
Public method QueueServiceCollections(TeamFoundationRequestContext, IEnumerable<TeamProjectCollectionProperties>, Boolean, array<String[]) Queues jobs to service collections.
Public method QueueUpdateCollection Update the properties of a collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Loads the collection services settings for this application.

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.Server.Core Namespace