Note: This API is now obsolete.
Interface that provides access to methods and properties necessary to interact with Team Explorer.
This API is not CLS-compliant.
Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
<GuidAttribute("95BF1796-B83B-462f-ACCD-5656A09797BF")> _
<CLSCompliantAttribute(False)> _
<ObsoleteAttribute("The IVsTeamExplorer interface is deprecated, use ITeamFoundationContextManager.")> _
Public Interface IVsTeamExplorer
[GuidAttribute("95BF1796-B83B-462f-ACCD-5656A09797BF")]
[CLSCompliantAttribute(false)]
[ObsoleteAttribute("The IVsTeamExplorer interface is deprecated, use ITeamFoundationContextManager.")]
public interface IVsTeamExplorer
[GuidAttribute(L"95BF1796-B83B-462f-ACCD-5656A09797BF")]
[CLSCompliantAttribute(false)]
[ObsoleteAttribute(L"The IVsTeamExplorer interface is deprecated, use ITeamFoundationContextManager.")]
public interface class IVsTeamExplorer
[<GuidAttribute("95BF1796-B83B-462f-ACCD-5656A09797BF")>]
[<CLSCompliantAttribute(false)>]
[<ObsoleteAttribute("The IVsTeamExplorer interface is deprecated, use ITeamFoundationContextManager.")>]
type IVsTeamExplorer =  interface end
public interface IVsTeamExplorer
The IVsTeamExplorer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | ConnectionState | Gets the current connection state of Team Explorer. | 
| .gif) | OnUIThread | Gets a flag indicating whether this object is on the user interface thread. | 
| .gif) | PortfolioExplorerPersistenceSlot | Gets the Guid of the Portfolio Explorer persistence slot. | 
| .gif) | TeamExplorerUIHierarchy | Gets the IVsUIHierarchy object representing the Team Explorer user interface hierarchy. | 
| .gif) | TeamExplorerWindow | Gets the IVsUIHierarchyWindow object representing the Team Explorer window. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddToFavorites | Adds the specified hierarchy to the list of favorites. | 
| .gif) | GetProjectContext() | Gets the current project context. | 
| .gif) | GetProjectContext(IVsUIHierarchy, UInt32) | Gets the current project context of the specified hierarchy. | 
| .gif) | InvokeInUIThread | Invokes the specified delegate method on the user interface thread. | 
| .gif) | QuerySetCurrentServerAndProject | Checks whether the specified server and project are the currently active server and project. | 
| .gif) | RefreshCompleted | Completes the refresh operation. | 
| .gif) | RefreshStarted | Starts the refresh operation. | 
| .gif) | RefreshTeamExplorerView | Refreshes the Team Explorer window. | 
| .gif) | SetCurrentServerAndProject | Sets the specified server and project as the currently active server and project. | 
| .gif) | StopRefreshingTeamExplorerView | Stops refreshing the Team Explorer window. | 
Top