Compartir a través de


IVsSccProjectProviderBinding.GetProviderBinding Method

Determines if this project requires a specific source control package or if the project should be put under source control.

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

Syntax

'Declaration
Function GetProviderBinding ( _
    <OutAttribute> pvscpbBinding As VSSCCPROVIDERBINDING() _
) As Integer
int GetProviderBinding(
    VSSCCPROVIDERBINDING[] pvscpbBinding
)
int GetProviderBinding(
    [OutAttribute] array<VSSCCPROVIDERBINDING>^ pvscpbBinding
)
abstract GetProviderBinding : 
        pvscpbBinding:VSSCCPROVIDERBINDING[] byref -> int
function GetProviderBinding(
    pvscpbBinding : VSSCCPROVIDERBINDING[]
) : int

Parameters

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From ivssccprojectproviderbinding.idl

HRESULT GetProviderBinding(
   [out, retval] VSSCCPROVIDERBINDING* pvscpbBinding
);

If a project requires a specific source control package, then it should implement the IVsSccProjectProviderBinding interface and return the VSSCC_PB_CUSTOM value from this method.

.NET Framework Security

See Also

Reference

IVsSccProjectProviderBinding Interface

Microsoft.VisualStudio.Shell.Interop Namespace