IVsSccManager2::UnregisterSccProject Method (IVsSccProject2^)

 

Called by projects registered with the source control portion of the environment before they are closed.

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

int UnregisterSccProject(
	IVsSccProject2^ pscp2Project
)

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::Int32

If 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.

Return to top
Show: