다음을 통해 공유


TeamProjectPicker.HostActiveTeamProjectCollection Property

Gets or sets the current active team project collection.

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

Syntax

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

Property Value

Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection
The active team project collection.

Remarks

This will prevent the user from removing this collection from the registered server list. Null will allow the user to remove any collection.

.NET Framework Security

See Also

Reference

TeamProjectPicker Class

Microsoft.TeamFoundation.Client Namespace