Export (0) Print
Expand All

TfsConnection.Credentials Property

Gets the credentials for this Team Foundation Server instance.

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

public ICredentials Credentials { get; set; }

Property Value

Type: System.Net.ICredentials
Returns ICredentials.

The credentials object must be either a NetworkCredential or CredentialCache object. This is required by the HttpWebRequest.Credentials property.

The ICredentials interface is implemented by both classes.

Show:
© 2014 Microsoft