This documentation is archived and is not being maintained.
TfsTeamProjectCollectionFactory::GetTeamProjectCollection Method (String, Boolean, Boolean)
Visual Studio 2013
Retrieves the TfsTeamProjectCollection object that is used for a given server.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public: static TfsTeamProjectCollection^ GetTeamProjectCollection( String^ serverName, bool ensureAuthenticated, bool ensureServerIsLocallyRegistered )
Parameters
- serverName
- Type: System::String
Name of the server to connect to.
- ensureAuthenticated
- Type: System::Boolean
Authenticate against the server.
- ensureServerIsLocallyRegistered
- Type: System::Boolean
Create a registration entry for this server.
- 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.
Show: