IVsSccProvider::AnyItemsUnderSourceControl Method (Int32)
Visual Studio 2015
Determines if any item in the solution are under source control.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pfResult
-
Type:
System::Int32
[out] Returns non-zero (TRUE) if there is at least one item under source control; otherwise, returns zero (FALSE).
From ivssccprovider.idl
HRESULT AnyItemsUnderSourceControl([out] BOOL* pfResult);
As part of the process of switching source control providers, this method is called to determine if the user should close a currently open solution before switching to another or if the solution can be closed automatically. If the solution has any items under source control, the user is prompted to close the solution.
Show: