TeamProjectCollection Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.TeamProjectCollection

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

Syntax

'Declaration
Public Class TeamProjectCollection
public class TeamProjectCollection
public ref class TeamProjectCollection
type TeamProjectCollection =  class end
public class TeamProjectCollection

The TeamProjectCollection type exposes the following members.

Properties

  Name Description
Public property DefaultConnectionString Obsolete. This property is obsolete.
Public property Description A description of the Team Project Collection.
Public property Id The Id for the collection is generated when the collection is created on the server. This idenitfier will never change unlike any of the other properties.
Public property IsBeingServiced
Public property IsDefault Default may be set to true on one team project collection. This will allow the V1 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 Once a collection is successfully created/attach/upgraded it is considered regsitered. This means the collection is a known entity within this instance.
Public property ServicingDetails
Public property State This is the current state of the project collection.
Public property VirtualDirectory The virtual directory is the relative path from the application to the location of the collection within the applications 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 Delete Delete the collection.
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 GetDatabaseCategoryConnectionStrings Obsolete. This method is obsolete.
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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Refresh Refresh property values to their current value on the server.
Public method Save Save the current property values.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.Client Namespace