Partager via


IVsSccAddWebProjectFromSourceControl Interface

Definition

This interface adds a Web-based project to the current solution from source control.

public interface class IVsSccAddWebProjectFromSourceControl
public interface class IVsSccAddWebProjectFromSourceControl
__interface IVsSccAddWebProjectFromSourceControl
[System.Runtime.InteropServices.Guid("53544C4D-724A-46C8-8D01-6D4518CA118C")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSccAddWebProjectFromSourceControl
[<System.Runtime.InteropServices.Guid("53544C4D-724A-46C8-8D01-6D4518CA118C")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSccAddWebProjectFromSourceControl = interface
Public Interface IVsSccAddWebProjectFromSourceControl
Attributes

Remarks

Visual Studio always supports this interface so that anyone querying the SVsSccManager service for this interface is guaranteed to get it. Visual Studio then asks the current source control package for the same interface and, if it can be obtained, forwards all calls to the source control package's version of the interface.

If Visual Studio cannot get this interface from the source control package, then Visual Studio's version of IsAddWebProjectSupported returns false, indicating that adding a Web-based project from source control is not supported.

Notes to Implementers

This interface is implemented by a source control package if it supports the ability to add a Web-based project to a solution directly from source control. If this interface is not implemented, the user must manually add the Web-based project to the solution.

Notes to Callers

The environment calls this interface to determine if the Add Web Project from Source Control dialog box will be displayed. If this interface is implemented (as determined by a call to the IsAddWebProjectSupported(Boolean) method) and the user clicks the Browse button in the dialog box, the environment calls the BrowseForServerLocation(String, String, String, String, String) method to obtain information about where to browse for a Web-based project. With this information, the environment presents another dialog box (supplied by the environment) to select the Web-based project to add and the location to store it in on the local system. Then the environment calls the AddWebProjectFromSourceControl(String, String, String, String, String) method to add the selected Web-based project to the current solution.

Methods

AddWebProjectFromSourceControl(String, String, String, String, String)

Adds the specified Web-based project to the current solution, storing it at the specified location.

BrowseForServerLocation(String, String, String, String, String)

Presents a dialog box to the user to browse for a source control server location.

IsAddWebProjectSupported(Boolean)

Determines whether the addition of a Web-based project to the current solution directly from source control is supported.

Applies to