共用方式為


TfsConnection.ClientCredentials Property

Gets the credentials for this project collection.

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

Syntax

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

Property Value

Type: Microsoft.TeamFoundation.Client.TfsClientCredentials

.NET Framework Security

See Also

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace