Partager via


IVsSccProvider.SetInactive Method

Definition

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

public:
 int SetInactive();
public:
 int SetInactive();
int SetInactive();
public int SetInactive ();
abstract member SetInactive : unit -> int
Public Function SetInactive () As Integer

Returns

The method returns S_OK.

Remarks

COM Signature

From ivssccprovider.idl

HRESULT SetInactive();  

When a source control package's status changes to inactive, it stops listening to events. It also hides its own menu items and toolbars and closes any tool windows. A source control package that is currently inactive needs to make sure it doesn't save to solution file and does not show properties.

Applies to