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
'Déclaration
Function SetActive As Integer
'Utilisation
Dim instance As IVsSccProvider
Dim returnValue As Integer
returnValue = instance.SetActive()
int SetActive()
int SetActive()
function SetActive() : int
Return Value
Type: System.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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.