This topic has not yet been rated - Rate this topic

TeamFoundationServer Members

A TeamFoundationServer object is the core object on a Team Foundation server. The server's TeamFoundationServer object abstracts the common infrastructure and acts as a class factory for Team Foundation Build components.

The TeamFoundationServer type exposes the following members.

  NameDescription
Public method TeamFoundationServer Overloaded.
Top
  NameDescription
Public method Authenticate Authenticates with the server.
Public method Dispose Notifies interested objects of disposal and disposes this object.
Public method EnsureAuthenticated Authenticates the connection if not previously authenticated.
Public method Equals Returns true if the specified object is equal to the TeamFoundationServer object on the current Team Foundation server; otherwise false. (Overrides Object.Equals(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 Returns the hash code for this instance of the TeamFoundationServer object on the current Team Foundation server. (Overrides Object.GetHashCode().)
Public method GetService Returns an instance of the specified service. Returns null if the service could not be found.
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 Convenience function to identify the connected Team Foundation server correctly in the debugger. (Overrides Object.ToString().)
Top
  NameDescription
Public operator Static member Equality Returns true if the URIs of the specified Team Foundation servers are identical; otherwise, returns false.
Public operator Static member Inequality Returns true if the URIs of the specified Team Foundation servers are not identical; otherwise, returns false.
Top
  NameDescription
Public property AuthenticatedUserDisplayName Gets the authenticated user's DisplayName.
Public property AuthenticatedUserIdentity Gets the authenticated user's identity.
Public property AuthenticatedUserName Gets the authenticated user name.
Public property Static member ClientCacheDirectory Gets the directory that contains the client cache files which reside in the settings directory.
Public property ClientCacheDirectoryForInstance Gets the path that should be used to cache data from this TeamFoundationServer instance.
Public property Static member ClientSettingsDirectory Gets the directory that contains files that contain the client settings.
Public property Credentials Gets the credentials for this TeamFoundationServer instance.
Public property Culture Gets or sets the culture to be used.
Public property HasAuthenticated Gets the flag that confirms if this object has successfully authenticated.
Public property InstanceId Gets the GUID that uniquely identifies the TeamFoundationServer instance on the current Team Foundation server.
Public property Name Gets the friendly name of the TeamFoundationServer instance on the current Team Foundation server.
Public property SessionId Gets a GUID that identifies the TeamFoundationServer on the current Team Foundation server.
Public property TimeZone Gets or sets the time zone.
Public property Uri Gets the URI of the current Team Foundation Server computer.
Top
  NameDescription
Public event CredentialsChanged Occurs when the TeamFoundationServer object's credentials change.
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.