IVsSccManager2.UnregisterSccProject(IVsSccProject2) Method

Definition

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

public:
 int UnregisterSccProject(Microsoft::VisualStudio::Shell::Interop::IVsSccProject2 ^ pscp2Project);
public:
 int UnregisterSccProject(Microsoft::VisualStudio::Shell::Interop::IVsSccProject2 ^ pscp2Project);
int UnregisterSccProject(Microsoft::VisualStudio::Shell::Interop::IVsSccProject2 const & pscp2Project);
public int UnregisterSccProject (Microsoft.VisualStudio.Shell.Interop.IVsSccProject2 pscp2Project);
abstract member UnregisterSccProject : Microsoft.VisualStudio.Shell.Interop.IVsSccProject2 -> int
Public Function UnregisterSccProject (pscp2Project As IVsSccProject2) As Integer

Parameters

pscp2Project
IVsSccProject2

[in] Pointer to the project's IVsSccProject2 interface. Note   This interface must be on the same object that supports IVsProject3 and IVsHierarchy.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From ivssccmanager2.idl

HRESULT UnregisterSccProject(  
   [in] IVsSccProject2 *pscp2Project  
);  

Call this method when the project is closed, while the project pointer is still valid.

Applies to