TeamFoundationServer Constructor (String, ICredentials)
Initializes a new TeamFoundationServer object that is associated with the specified URL and credentials.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
url As String, _
credentials As ICredentials _
)
public TeamFoundationServer(
string url,
ICredentials credentials
)
public:
TeamFoundationServer(
String^ url,
ICredentials^ credentials
)
new :
url:string *
credentials:ICredentials -> TeamFoundationServer
public function TeamFoundationServer(
url : String,
credentials : ICredentials
)
Parameters
- url
Type: System.String
The URL of the server.
- credentials
Type: System.Net.ICredentials
The credentials that are used to authenticate the user.
.NET Framework Security
- 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.