IVsSccAddWebProjectFromSourceControl.IsAddWebProjectSupported(Boolean) Method

Definition

Determines whether the addition of a Web-based project to the current solution directly from source control is supported.

public:
 int IsAddWebProjectSupported([Runtime::InteropServices::Out] bool % pfResult);
int IsAddWebProjectSupported([Runtime::InteropServices::Out] bool & pfResult);
public int IsAddWebProjectSupported (out bool pfResult);
abstract member IsAddWebProjectSupported : bool -> int
Public Function IsAddWebProjectSupported (ByRef pfResult As Boolean) As Integer

Parameters

pfResult
Boolean

[out] Returns true (nonzero) if the addition of a Web-based project from source control is supported; otherwise, returns false (zero).

Returns

If 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.

Remarks

COM Signature

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.

Applies to