다음을 통해 공유


IVsSccProvider.SetActive Method

Called by environment to mark a particular source control package as active.

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

Syntax

'Declaration
Function SetActive As Integer
int SetActive()
int SetActive()
abstract SetActive : unit -> int
function SetActive() : int

Return Value

Type: Int32
The method returns S_OK.

Remarks

COM Signature

From ivssccprovider.idl

HRESULT SetActive();

When a source control package's status changes to active, it starts listening to events and displays its own menu items and toolbars.

.NET Framework Security

See Also

Reference

IVsSccProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace