Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Called by environment to mark a particular source control package as inactive.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaración
Function SetInactive As Integer
'Uso
Dim instance As IVsSccProvider
Dim returnValue As Integer
returnValue = instance.SetInactive()
int SetInactive()
int SetInactive()
function SetInactive() : int
Return Value
Type: System.Int32
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.
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.