GitScc.SccProviderService.SetInactive C# (CSharp) Method

SetInactive() public method

public SetInactive ( ) : int
return int
        public int SetInactive()
        {
            Trace.WriteLine(String.Format(CultureInfo.CurrentUICulture, "Git Source Control Provider set inactive"));
            _active = false;
            DisableSccForSolution();
            GlobalCommandHook hook = GlobalCommandHook.GetInstance(_sccProvider);
            hook.UnhookCommand(new CommandID(VSConstants.VSStd2K, (int)VSConstants.VSStd2KCmdID.SLNREFRESH), HandleSolutionRefresh);
            return VSConstants.S_OK;
        }
SccProviderService