This documentation is archived and is not being maintained.

TeamProjectCollectionProperties Class

Contains the configuration information to configure a team project collection.

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

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

[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Private)]
public ref class TeamProjectCollectionProperties

The TeamProjectCollectionProperties type exposes the following members.

  NameDescription
Public propertyAuthorityThe 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 propertyDatabaseCategoryConnectionStringsContains the connection strings to use for each database category (VersionControl, WorkItem, WorkItemAttachment, and so on).
Public propertyDatabaseCategoryConnectionStringsValue
Public propertyDatabaseId
Public propertyDefaultConnectionStringThe connection string to use for any database category not found in DatabaseCategoryConnectionStrings.
Public propertyDescriptionA description of the collection.
Public propertyIdThe 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 propertyIsBeingServiced
Public propertyIsDefaultDefault 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 propertyNameThe name is a friendly name for the collection and can be changed.
Public propertyRegisteredDefines whether the collection is currently registered with the application or whether it is being created or deleted.
Public propertyServicingDetails
Public propertyServicingTokensValue
Public propertyStateThis is the current state of the project collection.
Public propertyStateValue
Public propertyVirtualDirectoryThe virtual directory is the relative path from the application to the location of the collection in the application's URL namespace.Example: Application = http://www.microsoft.com/TeamFoundation VirtualDirectry = ~/ProjectCollection/TeamSystem. The fully qualified URL of this project collection is: http://www.microsoft.com/TeamFoundation/ProjectCollection/TeamSystem.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToString (Overrides Object::ToString().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: