共用方式為


TfsConnection.HasAuthenticated Property

Gets the status of a flag that describes whether this TfsConnection instance has successfully authenticated.

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

Syntax

'Declaration
Public ReadOnly Property HasAuthenticated As Boolean
public bool HasAuthenticated { get; }
public:
property bool HasAuthenticated {
    bool get ();
}
member HasAuthenticated : bool with get
function get HasAuthenticated () : boolean

Property Value

Type: System.Boolean
True if the TfsConnection instance has authenticated.
False if authentication has failed.

.NET Framework Security

See Also

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace