TeamProjectCollectionService Class

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 that are used to create collections in a semi-load-balanced way.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamProjectCollectionService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
Public NotInheritable Class TeamProjectCollectionService _
    Implements ITeamFoundationService, IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public sealed class TeamProjectCollectionService : ITeamFoundationService, 
    IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public ref class TeamProjectCollectionService sealed : ITeamFoundationService, 
    IDisposable
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
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 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 a hash function for a particular type. (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 under the Organizational Root.
Public method QueryCollectionCatalogNode Returns the node for the collection resource that is located in the organizational tree anywhere under the application instance node.
Public method QueryCollectionCatalogNodes Returns the nodes for the collection resources that are located in the organizational tree under 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 a later version.
Public method QueueAttachPreTfs2010Databases Attach a team project collection that should be created from databases from Team Foundation Server 2005 and Team Foundation Server 2008.
Public method QueueCreateCollection
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 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 Load 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.Framework.Server Namespace