Share via


ITeamFoundationConnectionManager.Connect Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Connect() Loads and connects to the last TF Context used in Visual Studio. (Does nothing if VS is already connected.)
Public method Connect(TeamProjectPickerMode, Boolean) Prompts the user to select the TF Context they want to connect to. The mode parameter determines at what level the context is needed (TP, collection, etc). Make sure to pass true for async so that the actual connection and authentication will be done in the background and not block VS.

Top

See Also

Reference

ITeamFoundationConnectionManager Interface

Microsoft.VisualStudio.Services.Integration Namespace