This documentation is archived and is not being maintained.

TeamProjectPicker::CommitConnectionChange Method (TfsTeamProjectCollection, Boolean)

Visual Studio 2013

Commit the connection changes to the local storage and in-memory cache and persist the credentials to the token storage.

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

public:
static void CommitConnectionChange(
	TfsTeamProjectCollection^ collection, 
	bool storeCredentials
)

Parameters

collection
Type: Microsoft.TeamFoundation.Client::TfsTeamProjectCollection

The newly selected Team Project Collection

storeCredentials
Type: System::Boolean

True to also persist the credentials to the token storage

Use to manually commit changes when suppressing AutoCommitCollectionChanges and HasNewCredentials is set.

Show: