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


ITeamProjectCollectionService Interface

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

Syntax

'Declaration
Public Interface ITeamProjectCollectionService _
    Inherits ITeamProjectCollectionServicing
public interface ITeamProjectCollectionService : ITeamProjectCollectionServicing
public interface class ITeamProjectCollectionService : ITeamProjectCollectionServicing
type ITeamProjectCollectionService =  
    interface 
        interface ITeamProjectCollectionServicing 
    end
public interface ITeamProjectCollectionService extends ITeamProjectCollectionServicing

The ITeamProjectCollectionService type exposes the following members.

Methods

  Name Description
Public method AddServicingOperation(Stream) Adds a new servicing operation to the configuration database. All servicing step groups specified in the Xml file must be added to the configuration database before calling this method. (Inherited from ITeamProjectCollectionServicing.)
Public method AddServicingOperation(String, IEnumerable<String>, IEnumerable<String>) Adds a new servicing operation to the configuration database. All servicing step groups listed in the stepGroups collection must be added to the configuration database before calling this method. (Inherited from ITeamProjectCollectionServicing.)
Public method DeleteProject Deletes a project and waits for initial deletion operation to complete. (Inherited from ITeamProjectCollectionServicing.)
Public method DeleteServicingOperation Deletes a servicing operation. (Inherited from ITeamProjectCollectionServicing.)
Public method DeleteServicingResources Delete a servicing resource. (Inherited from ITeamProjectCollectionServicing.)
Public method DisableServicing(String) Disables creation and servicing of team project collections, and waits for in-progress servicing to complete. If servicing is already disabled, simply returns false. (Inherited from ITeamProjectCollectionServicing.)
Public method DisableServicing(String, String) Disables creation and servicing of team project collections, and waits for in-progress servicing to complete. If servicing is already disabled, simply returns false. (Inherited from ITeamProjectCollectionServicing.)
Public method EnableServicing Enables creation and servicing of team project collections. (Inherited from ITeamProjectCollectionServicing.)
Public method GetCollection(Guid) Retrieve a collection using its unique Id. Only created and registered collections will be returned.
Public method GetCollection(Guid, ServiceHostFilterFlags) Retrieve a collection using its unique Id.
Public method GetCollections() Retrieves all registered collections. Only created and registered collections will be returned.
Public method GetCollections(IEnumerable<Guid>) Gets collections with the specified collection ids. Only created and registered collections will be returned.
Public method GetCollections(ServiceHostFilterFlags) Retrieves all registered collections.
Public method GetCollections(IEnumerable<Guid>, ServiceHostFilterFlags) Gets collections with the specified collection ids.
Public method GetDefaultCollection Access the default collection.
Public method GetServicingDetails Retrieves log entries for a servicing job. (Inherited from ITeamProjectCollectionServicing.)
Public method GetServicingOperation Gets a specified servicing operation. (Inherited from ITeamProjectCollectionServicing.)
Public method GetServicingResources Returns a list of ServicingResources by their unique name. (Inherited from ITeamProjectCollectionServicing.)
Public method QueueAttachCollection(String, IDictionary<String, String>, Boolean) Queues attachment of collection that has the given connection String. This overload will use the existing collection properties to create the collection. (Inherited from ITeamProjectCollectionServicing.)
Public method QueueAttachCollection(String, IDictionary<String, String>, Boolean, String, String, String) Queues attachment of collection that has the given connection String. This overload will use the existing collection properties to create the collection. (Inherited from ITeamProjectCollectionServicing.)
Public method QueueCreateCollection(String, String, Boolean, String, TeamFoundationServiceHostStatus, IDictionary<String, String>) Queues creation of a new team project collection on the server. (Inherited from ITeamProjectCollectionServicing.)
Public method QueueCreateCollection(String, String, Boolean, String, TeamFoundationServiceHostStatus, IDictionary<String, String>, String, String, IDictionary<String, String>) Queues creation of a new team project collection on the server. (Inherited from ITeamProjectCollectionServicing.)
Public method QueueDeleteProject Queues a project to be deleted. (Inherited from ITeamProjectCollectionServicing.)
Public method QueueDetachCollection(Guid, IDictionary<String, String>, String, String%) Queues the snapshot operation for the collection. (Inherited from ITeamProjectCollectionServicing.)
Public method QueueDetachCollection(TeamProjectCollection, IDictionary<String, String>, String, String%) Queues the detach operation for the collection. (Inherited from ITeamProjectCollectionServicing.)
Public method UpdateServicingOperation(Stream) Updates servicing operation. All servicing step groups specified in the Xml file must be added to the configuration database before calling this method. (Inherited from ITeamProjectCollectionServicing.)
Public method UpdateServicingOperation(String, IEnumerable<String>, IEnumerable<String>) Updates servicing operation. All servicing step groups listed in the stepGroups collection must be added to the configuration database before calling this method. (Inherited from ITeamProjectCollectionServicing.)
Public method UpdateServicingResource(String, Stream) Add or replace a servicing resource for use by Framework stepTypes. (Inherited from ITeamProjectCollectionServicing.)
Public method UpdateServicingResource(String, String) Add or replace a servicing resource for use by Framework stepTypes. (Inherited from ITeamProjectCollectionServicing.)
Public method UpdateServicingStepGroups(IEnumerable<Stream>) Updates servicing step groups and servicing steps listed in the stepGroups collection. (Inherited from ITeamProjectCollectionServicing.)
Public method UpdateServicingStepGroups(IEnumerable<String>) Updates servicing step groups and servicing steps defined in the xml documents. (Inherited from ITeamProjectCollectionServicing.)
Public method UpdateServicingStepGroups(IEnumerable<ServicingStepGroup>) Updates servicing step groups and servicing steps listed in the stepGroups collection. (Inherited from ITeamProjectCollectionServicing.)
Public method WaitForCollectionServicingToComplete(ServicingJobDetail) This method will block until a collection servicing operation has completed. It will then return the resulting collection. Note, you must have the Edit server-level information permission to monitor collection servicing. (Inherited from ITeamProjectCollectionServicing.)
Public method WaitForCollectionServicingToComplete(ServicingJobDetail, TimeSpan) This method will block until a collection servicing operation has completed. It will then return the resulting collection. Note, you must have the Edit server-level information permission to monitor collection servicing. (Inherited from ITeamProjectCollectionServicing.)

Top

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace