Share via


TeamProjectCollectionProperties Class

Contains the configuration information to configure a team project collection.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamProjectCollectionProperties

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

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Private)> _
Public Class TeamProjectCollectionProperties
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Private)]
public class TeamProjectCollectionProperties
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Private)]
public ref class TeamProjectCollectionProperties
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Private)>]
type TeamProjectCollectionProperties =  class end
public class TeamProjectCollectionProperties

The TeamProjectCollectionProperties type exposes the following members.

Constructors

  Name Description
Public method TeamProjectCollectionProperties

Top

Properties

  Name Description
Public property Authority The accepted host name by which to access the team project collection when constructing a URL that is meant to target the collection. If the authority is null, then any URL that targets the TFS instance can be used to resolve the team project collection, by means of exclusive use of the [VirtualDirectory] property. Otherwise, both the [Authority] and the [VirtualDirectory] are used to resolve the team project collection. Example: Authority = contoso.tfs.net VirtualDirectory = ~/ProjectCollection. A URL such as the following will target this project collection: http://contoso.tfs.net/ProjectCollection/Services/v3.0/LocationService.asmx. Any other host name in the URL will not be able to resolve this project collection.
Public property DatabaseCategoryConnectionStrings Contains the connection strings to use for each database category ([VersionControl], [WorkItem], [WorkItemAttachment], and so on).
Public property DatabaseCategoryConnectionStringsValue
Public property DatabaseId
Public property DefaultConnectionString The connection string to use for any database category not found in [DatabaseCategoryConnectionStrings].
Public property Description A description of the collection.
Public property Id The ID for the collection is generated when the collection is created on the server. This identifier will never change, unlike any of the other properties.
Public property IsBeingServiced
Public property IsDefault Default might be set to true on one team project collection. This will allow the version 1 client to access the site this collection is on and be redirected to this project collection.If a collection is updated and made the default collection, the current collection marked as default is changed to False.
Public property Name The name is a friendly name for the collection and can be changed.
Public property Registered Defines whether the collection is currently registered with the application or whether it is being created or deleted.
Public property ServicingDetails
Public property ServicingTokensValue
Public property State This is the current state of the project collection.
Public property StateValue
Public property VirtualDirectory The virtual directory is the relative path from the application to the location of the collection in the application's URL namespace.Example: Application = https://www.microsoft.com/TeamFoundation VirtualDirectry = ~/ProjectCollection/TeamSystem. The fully qualified URL of this project collection is: https://www.microsoft.com/TeamFoundation/ProjectCollection/TeamSystem.

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 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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

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