Share via


TeamFoundationServer Members

Include Protected Members
Include Inherited 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.

Constructors

 

Name

Description

Public method

TeamFoundationServer

Overloaded.

Top

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

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 nulla null reference (Nothing in Visual Basic) 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

Operators

 

Name

Description

Public operatorStatic member

Equality

Returns true if the URIs of the specified Team Foundation servers are identical; otherwise, returns false.

Public operatorStatic member

Inequality

Returns true if the URIs of the specified Team Foundation servers are not identical; otherwise, returns false.

Top

Properties

 

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 propertyStatic 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 propertyStatic 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

Events

 

Name

Description

Public event

CredentialsChanged

Occurs when the TeamFoundationServer object's credentials change.

Top

See Also

Reference

TeamFoundationServer Class

Microsoft.TeamFoundation.Client Namespace