TeamFoundationServer Constructor (RegisteredProjectCollection, ICredentials, ICredentialsProvider)

Initializes a new TeamFoundationServer object that is associated with the server that is described by the specified RegisteredProjectCollection, credentials, and credentials provider.

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

Syntax

'Declaration
Public Sub New ( _
    projectCollection As RegisteredProjectCollection, _
    credentials As ICredentials, _
    credentialsProvider As ICredentialsProvider _
)
public TeamFoundationServer(
    RegisteredProjectCollection projectCollection,
    ICredentials credentials,
    ICredentialsProvider credentialsProvider
)
public:
TeamFoundationServer(
    RegisteredProjectCollection^ projectCollection, 
    ICredentials^ credentials, 
    ICredentialsProvider^ credentialsProvider
)
new : 
        projectCollection:RegisteredProjectCollection * 
        credentials:ICredentials * 
        credentialsProvider:ICredentialsProvider -> TeamFoundationServer
public function TeamFoundationServer(
    projectCollection : RegisteredProjectCollection, 
    credentials : ICredentials, 
    credentialsProvider : ICredentialsProvider
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationServer Class

TeamFoundationServer Overload

Microsoft.TeamFoundation.Client Namespace