次の方法で共有


IVsTeamExplorer Interface

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
Public property ConnectionState Gets the current connection state of Team Explorer.
Public property OnUIThread Gets a flag indicating whether this object is on the user interface thread.
Public property PortfolioExplorerPersistenceSlot Gets the Guid of the Portfolio Explorer persistence slot.
Public property TeamExplorerUIHierarchy Gets the IVsUIHierarchy object representing the Team Explorer user interface hierarchy.
Public property TeamExplorerWindow Gets the IVsUIHierarchyWindow object representing the Team Explorer window.

Top

Methods

  Name Description
Public method AddToFavorites Adds the specified hierarchy to the list of favorites.
Public method GetProjectContext() Gets the current project context.
Public method GetProjectContext(IVsUIHierarchy, UInt32) Gets the current project context of the specified hierarchy.
Public method InvokeInUIThread Invokes the specified delegate method on the user interface thread.
Public method QuerySetCurrentServerAndProject Checks whether the specified server and project are the currently active server and project.
Public method RefreshCompleted Completes the refresh operation.
Public method RefreshStarted Starts the refresh operation.
Public method RefreshTeamExplorerView Refreshes the Team Explorer window.
Public method SetCurrentServerAndProject Sets the specified server and project as the currently active server and project.
Public method StopRefreshingTeamExplorerView Stops refreshing the Team Explorer window.

Top

See Also

Reference

Microsoft.TeamFoundation.Common Namespace