IVsSccManager2::UnregisterSccProject Method (IVsSccProject2^)
Visual Studio 2015
Called by projects registered with the source control portion of the environment before they are closed.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pscp2Project
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsSccProject2^
[in] Pointer to the project's IVsSccProject2 interface.
Note This interface must be on the same object that supports IVsProject3 and IVsHierarchy.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From ivssccmanager2.idl
HRESULT UnregisterSccProject(
[in] IVsSccProject2 *pscp2Project
);
Call this method when the project is closed, while the project pointer is still valid.
Show: