共用方式為


RegisteredProjectCollection.AutoReconnect Property

Gets or sets a flag describing whether Team Explorer will auto-reconnect to this registered project collection upon start-up if it was the most recently connected collection.

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

Syntax

'Declaration
Public Property AutoReconnect As Boolean
public bool AutoReconnect { get; set; }
public:
property bool AutoReconnect {
    bool get ();
    void set (bool value);
}
member AutoReconnect : bool with get, set
function get AutoReconnect () : boolean 
function set AutoReconnect (value : boolean)

Property Value

Type: System.Boolean
True to auto-reconnect to this collection; otherwise false.

.NET Framework Security

See Also

Reference

RegisteredProjectCollection Class

Microsoft.TeamFoundation.Client Namespace