IVsSccOpenFromSourceControl.AddProjectFromSourceControl(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified project to the current solution directly from source control.
public:
int AddProjectFromSourceControl(System::String ^ pszProjectStoreUrl);
public:
int AddProjectFromSourceControl(Platform::String ^ pszProjectStoreUrl);
int AddProjectFromSourceControl(std::wstring const & pszProjectStoreUrl);
public int AddProjectFromSourceControl (string pszProjectStoreUrl);
abstract member AddProjectFromSourceControl : string -> int
Public Function AddProjectFromSourceControl (pszProjectStoreUrl As String) As Integer
Parameters
- pszProjectStoreUrl
- String
[in] The URL of the project in the source control to be added to the current solution (for example, msss://server/…/MyProject.proj).
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From ivssccopenfromsourcecontrol.idl
HRESULT AddProjectFromSourceControl(
[in] LPCOLESTR pszProjectStoreUrl
);
The URL specified in pszProjectStoreUrl
is specific to the source control package implementing this method.