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
'宣告
Public ReadOnly Property HasAuthenticated As Boolean
Get
public bool HasAuthenticated { get; }
public:
property bool HasAuthenticated {
bool get ();
}
member HasAuthenticated : bool
function get HasAuthenticated () : boolean
Property Value
Type: System.Boolean
True if the TfsConnection instance has authenticated.
False if authentication has failed.
.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.