Partager via


IVsSccManager2.IsInstalled Method

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function IsInstalled ( _
    <OutAttribute> ByRef pbInstalled As Integer _
) As Integer
int IsInstalled(
    out int pbInstalled
)
int IsInstalled(
    [OutAttribute] int% pbInstalled
)
abstract IsInstalled : 
        pbInstalled:int byref -> int
function IsInstalled(
    pbInstalled : int
) : int

Parameters

  • pbInstalled
    Type: 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).

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsSccManager2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace