IVsSccAddWebProjectFromSourceControl::IsAddWebProjectSupported Method (Boolean)
Visual Studio 2015
Determines whether the addition of a Web-based project to the current solution directly from source control is supported.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pfResult
-
Type:
System::Boolean
[out] Returns true (nonzero) if the addition of a Web-based project from source control is supported; otherwise, returns false (zero).
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If E_FAIL is returned, there is no active source control package or the current source control package does not support this functionality. If this method fails, it returns an error code.
From ivssccaddwebprojectfromsourcecontrol.idl
HRESULT IsAddWebProjectSupported( [out] VARIANT_BOOL * pfResult );
If pfResult returns true, then Visual Studio will enable the controls for the addition of a Web-based project to the current solution from source control. Otherwise, the controls remain disabled.
Show: