IVsSccOpenFromSourceControl::AddProjectFromSourceControl Method (String^)
Visual Studio 2015
Adds the specified project to the current solution directly from source control.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pszProjectStoreUrl
-
Type:
System::String^
[in] The URL of the project in the source control to be added to the current solution (for example, msss://server/…/MyProject.proj).
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From ivssccopenfromsourcecontrol.idl
HRESULT AddProjectFromSourceControl(
[in] LPCOLESTR pszProjectStoreUrl
);
The URL specified in pszProjectStoreUrl is specific to the source control package implementing this method.
Show: