다음을 통해 공유


IVsSccManager2.UnregisterSccProject Method

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)

Syntax

‘선언
Function UnregisterSccProject ( _
    pscp2Project As IVsSccProject2 _
) As Integer
‘사용 방법
Dim instance As IVsSccManager2
Dim pscp2Project As IVsSccProject2
Dim returnValue As Integer

returnValue = instance.UnregisterSccProject(pscp2Project)
int UnregisterSccProject(
    IVsSccProject2 pscp2Project
)
int UnregisterSccProject(
    [InAttribute] IVsSccProject2^ pscp2Project
)
abstract UnregisterSccProject : 
        pscp2Project:IVsSccProject2 -> int 
function UnregisterSccProject(
    pscp2Project : IVsSccProject2
) : int

Parameters

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsSccManager2 Interface

IVsSccManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace