Compartilhar via


IVsSccManager2 Interface

Allows projects and hierarchies to register themselves with source control and obtain information on source control status.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<GuidAttribute("53544C4D-B927-4320-B9DA-13D2CB3EA93B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSccManager2
[GuidAttribute("53544C4D-B927-4320-B9DA-13D2CB3EA93B")]
[InterfaceTypeAttribute()]
public interface IVsSccManager2
[GuidAttribute(L"53544C4D-B927-4320-B9DA-13D2CB3EA93B")]
[InterfaceTypeAttribute()]
public interface class IVsSccManager2
[<GuidAttribute("53544C4D-B927-4320-B9DA-13D2CB3EA93B")>]
[<InterfaceTypeAttribute()>]
type IVsSccManager2 =  interface end
public interface IVsSccManager2

The IVsSccManager2 type exposes the following members.

Methods

  Name Description
Public method BrowseForProject Obsolete: returns E_NOTIMPL.
Public method CancelAfterBrowseForProject Obsolete: returns E_NOTIMPL.
Public method GetSccGlyph This method is called by projects to discover the source control glyphs to use on files and the files' source control status; this is the only way to get status.
Public method GetSccGlyphFromStatus This function determines which glyph to display, given a combination of status flags.
Public method IsInstalled This function determines whether the source control package is installed. Source control packages should always return S_OK and pbInstalled = nonzero.
Public method RegisterSccProject This method is called by projects that are under source control when they are first opened to register project settings.
Public method UnregisterSccProject Called by projects registered with the source control portion of the environment before they are closed.

Top

Remarks

Notes to Implementers

This interface is implemented by both the source control management portion of the environment and source control packages (the environment forwards all calls to the source control package after making sure the package is loaded). It is a required interface.

Notes to Callers

This interface is called by projects to register with a source control package and thereby indicate that the project wants source control.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace