Partager via


IVsSccManager2.IsInstalled(Int32) Method

Definition

This function determines whether the source control package is installed. Source control packages should always return S_OK and pbInstalled = nonzero.

public:
 int IsInstalled([Runtime::InteropServices::Out] int % pbInstalled);
int IsInstalled([Runtime::InteropServices::Out] int & pbInstalled);
public int IsInstalled (out int pbInstalled);
abstract member IsInstalled : int -> int
Public Function IsInstalled (ByRef pbInstalled As Integer) As Integer

Parameters

pbInstalled
Int32

[out] Returns nonzero (true) if the source control package is installed; otherwise, returns zero (false). Source control packages should always set this to nonzero (true).

Returns

Source control packages should always return S_OK.

Remarks

COM Signature

From ivssccmanager2.idl

HRESULT IsInstalled(  
   [out, retval] BOOL *pbInstalled  
);  

This method is fully implemented only in the Visual Studio Source Control Stub, which acts as an intermediary between Visual Studio and all source control packages. All source control packages should always return S_OK and set pbInstalled to nonzero.

Applies to