TeamFoundationServer Constructor (RegisteredProjectCollection, ICredentials, ICredentialsProvider)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new TeamFoundationServer object that is associated with the server that is described by the specified RegisteredProjectCollection, credentials, and credentials provider.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public TeamFoundationServer( RegisteredProjectCollection projectCollection, ICredentials credentials, ICredentialsProvider credentialsProvider )
- Type: Microsoft.TeamFoundation.Client.RegisteredProjectCollection
The RegisteredProjectCollection that contains information about the server.
- Type: System.Net.ICredentials
The credentials that are used to authenticate the user.
- Type: Microsoft.TeamFoundation.Client.ICredentialsProvider
The credentials provider to use if the credentials of the current environment fail.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.