TeamFoundationServer Constructor (String, ICredentialsProvider)

Initializes a new TeamFoundationServer object that is associated with the specified URL and credentials provider.

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

Syntax

'Declaration
Public Sub New ( _
    url As String, _
    credentialsProvider As ICredentialsProvider _
)
public TeamFoundationServer(
    string url,
    ICredentialsProvider credentialsProvider
)
public:
TeamFoundationServer(
    String^ url, 
    ICredentialsProvider^ credentialsProvider
)
new : 
        url:string * 
        credentialsProvider:ICredentialsProvider -> TeamFoundationServer
public function TeamFoundationServer(
    url : String, 
    credentialsProvider : ICredentialsProvider
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationServer Class

TeamFoundationServer Overload

Microsoft.TeamFoundation.Client Namespace