Export (0) Print
Expand All

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 following tables list the members exposed by the TeamFoundationServer type.

  Name Description
Public constructor TeamFoundationServer Overloaded.
Top

  Name Description
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 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 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

(see also Protected Methods )
  Name Description
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 Overloaded. Overridden.
Public method GetHashCode Overridden. Returns the hash code for this instance of the TeamFoundationServer object on the current Team Foundation server.  
Public method GetService Returns an instance of the specified service. Returns a null reference (Nothing in Visual Basic) if the service could not be found.  
Public method GetType  (Inherited from Object.)
Public method Static op_Equality Returns true if the URIs of the specified Team Foundation servers are identical; otherwise, returns false.  
Public method Static op_Inequality Returns true if the URIs of the specified Team Foundation servers are not identical; otherwise, returns false.  
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToString Overridden. Convenience function to identify the connected Team Foundation server correctly in the debugger.  
Top

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Top

  Name Description
Public event CredentialsChanged Occurs when the TeamFoundationServer object's credentials change. 
Top

Community Additions

ADD
Show:
© 2014 Microsoft