Export (0) Print
Expand All

TfsTeamProjectCollection Class

Abstracts common infrastructure for the Team Foundation system and is the parent class for Team Foundation components.

System.Object
  Microsoft.TeamFoundation.Client.TfsConnection
    Microsoft.TeamFoundation.Client.TfsTeamProjectCollection

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

'Declaration
Public Class TfsTeamProjectCollection _
	Inherits TfsConnection

The TfsTeamProjectCollection type exposes the following members.

  NameDescription
Public methodTfsTeamProjectCollection(Uri)Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(RegisteredProjectCollection)Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(Uri, ICredentialsProvider) Obsolete. Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(Uri, TfsClientCredentials)Initializes a new TfsTeamProjectCollection instance using the specified credentials.
Public methodTfsTeamProjectCollection(Uri, IdentityDescriptor)Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(Uri, Boolean)
Public methodTfsTeamProjectCollection(Uri, ICredentials)Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(RegisteredProjectCollection, IdentityDescriptor)Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(Uri, TfsClientCredentials, IdentityDescriptor)Initializes a new TfsTeamProjectCollection instance using the specified credentials. The specified identity will be impersonated for all operations.
Public methodTfsTeamProjectCollection(Uri, ICredentials, ICredentialsProvider) Obsolete. Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(RegisteredProjectCollection, ICredentials, ICredentialsProvider) Obsolete. Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(Uri, TfsClientCredentials, IdentityDescriptor, ITfsRequestChannelFactory)
Public methodTfsTeamProjectCollection(Uri, TfsClientCredentials, IdentityDescriptor, Boolean)
Public methodTfsTeamProjectCollection(Uri, ICredentials, ICredentialsProvider, IdentityDescriptor) Obsolete. Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(RegisteredProjectCollection, ICredentials, ICredentialsProvider, IdentityDescriptor) Obsolete. Initializes a new instance of the TfsTeamProjectCollection class.
Public methodTfsTeamProjectCollection(Uri, TfsClientCredentials, IdentityDescriptor, ITfsRequestChannelFactory, Boolean)
Top

  NameDescription
Public propertyAuthorizedIdentityGets the identity that is authorized to make calls to the server that is running Team Foundation Server. (Inherited from TfsConnection.)
Public propertyCatalogNodeGets the CatalogNode for this server. (Overrides TfsConnection.CatalogNode.)
Protected propertyCatalogResourceId (Inherited from TfsConnection.)
Public propertyClientCacheDirectoryForInstanceGets the path of the directory that is used to cache data from the server that is running Team Foundation Server. (Inherited from TfsConnection.)
Public propertyClientCredentialsGets the credentials for this project collection. (Inherited from TfsConnection.)
Public propertyConfigurationServerGets the TfsConfigurationServer for this instance.
Public propertyConnectivityFailureOnLastWebServiceCallIndicates whether the last Web service call issued by this TfsConnection object failed due to a connectivity failure. (Inherited from TfsConnection.)
Public propertyCredentialsGets the credentials for this Team Foundation Server instance. (Inherited from TfsConnection.)
Public propertyCultureGets or sets the localization environment that is used by the server that is running Team Foundation Server. (Inherited from TfsConnection.)
Public propertyDisposed (Inherited from TfsConnection.)
Public propertyHasAuthenticatedGets the status of a flag that describes whether this TfsConnection instance has successfully authenticated. (Inherited from TfsConnection.)
Public propertyInstanceIdGets the GUID that identifies this Team Foundation Server connection. (Inherited from TfsConnection.)
Public propertyIsHostedServerReturns true if the server is a Windows Azure-hosted Team Foundation Server server (Inherited from TfsConnection.)
Public propertyNameGets the name of the server. (Overrides TfsConnection.Name.)
Public propertyServerCapabilitiesThe capabilities of the TFS server (Inherited from TfsConnection.)
Public propertySessionIdGets the GUID that identifies this instance of the client to the server. (Inherited from TfsConnection.)
Public propertyTimeZoneGets or sets the time zone of this Team Foundation Server connection. Used to convert dates and times to UTC. (Inherited from TfsConnection.)
Public propertyUICultureThe culture that will be used. It defaults to CultureInfo.CurrentUICulture. (Inherited from TfsConnection.)
Public propertyUriGets the uniform resource identifier (URI) for this Team Foundation Server connection. (Inherited from TfsConnection.)
Top

  NameDescription
Public methodAuthenticateAuthenticates the connection to Team Foundation Server by using the specified credentials provider. (Inherited from TfsConnection.)
Public methodConnectConnects to a server that is running Team Foundation Server and returns information based on connectOptions. (Inherited from TfsConnection.)
Protected methodCreateInternalProxy (Inherited from TfsConnection.)
Protected methodCreateServiceInstance (Inherited from TfsConnection.)
Public methodDisconnect (Inherited from TfsConnection.)
Public methodDisposeNotifies related objects of disposal and disposes of this instance of TfsConnection. (Inherited from TfsConnection.)
Public methodEnsureAuthenticatedAuthenticates the connection to Team Foundation Server if it has not been previously authenticated. (Inherited from TfsConnection.)
Public methodEqualsReturns true of the specified object is equal to this TfsConnection. Equality is defined by comparing the fully qualified url of the two TfsConnections (Inherited from TfsConnection.)
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 methodGetAuthenticatedIdentityGets the identity that authenticated with the server. (Inherited from TfsConnection.)
Public methodStatic memberGetFullyQualifiedUriForNameGets the URI of the server that is associated with the specified name.
Public methodGetHashCodeGets the hash code of this TfsConnection instance. (Inherited from TfsConnection.)
Public methodGetService(Type)Gets the requested service. (Inherited from TfsConnection.)
Public methodGetService(Of T)Gets the requested service. (Inherited from TfsConnection.)
Protected methodGetServiceInstance (Overrides TfsConnection.GetServiceInstance(Type, Object).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeTeamFoundationObject (Overrides TfsConnection.InitializeTeamFoundationObject(String, Object).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnConnectivityFailureStatusChangedFires the ConnectivityFailureStatusChanged event. (Inherited from TfsConnection.)
Public methodToStringGets the name of the TfsConnection instance. (Inherited from TfsConnection.)
Top

  NameDescription
Public eventConnectivityFailureStatusChangedThis event is raised when the value of the ConnectivityFailureOnLastWebServiceCall flag changes. (Inherited from TfsConnection.)
Public eventCredentialsChangedThis event is raised when the credentials of the TeamFoundationServer object change. (Inherited from TfsConnection.)
Top

Common infrastructure for all TfsTeamProjectCollection components:

  • Discovering a project collection.

  • Providing user credentials.

  • Providing globalization information.

  • Accessing team projects.

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:
© 2014 Microsoft