Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Shared Sub CommitConnectionChange ( _
collection As TfsTeamProjectCollection, _
storeCredentials As Boolean _
)
public static void CommitConnectionChange(
TfsTeamProjectCollection collection,
bool storeCredentials
)
public:
static void CommitConnectionChange(
TfsTeamProjectCollection^ collection,
bool storeCredentials
)
static member CommitConnectionChange :
collection:TfsTeamProjectCollection *
storeCredentials:bool -> unit
public static function CommitConnectionChange(
collection : TfsTeamProjectCollection,
storeCredentials : boolean
)
Parameters
collection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe newly selected Team Project Collection
storeCredentials
Type: System.BooleanTrue to also persist the credentials to the token storage
Remarks
Use to manually commit changes when suppressing AutoCommitCollectionChanges and HasNewCredentials is set.
.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.