共用方式為


TeamFoundationServer.Credentials Property

Gets the credentials for this TeamFoundationServer object.

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

Syntax

'Declaration
Public Property Credentials As ICredentials
public ICredentials Credentials { get; internal set; }
public:
property ICredentials^ Credentials {
    ICredentials^ get ();
    internal: void set (ICredentials^ value);
}
member Credentials : ICredentials with get, internal set
function get Credentials () : ICredentials 
internal function set Credentials (value : ICredentials)

Property Value

Type: System.Net.ICredentials
The credentials for this TeamFoundationServer object.

Remarks

This object must be either a NetworkCredential or a CredentialCache object.

.NET Framework Security

See Also

Reference

TeamFoundationServer Class

Microsoft.TeamFoundation.Client Namespace