Share via


IVsSccProjectProviderBinding.GetProviderBinding Method

Definition

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

public:
 int GetProviderBinding(cli::array <Microsoft::VisualStudio::Shell::Interop::VSSCCPROVIDERBINDING> ^ pvscpbBinding);
public:
 int GetProviderBinding(Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSSCCPROVIDERBINDING> ^ pvscpbBinding);
int GetProviderBinding(std::Array <Microsoft::VisualStudio::Shell::Interop::VSSCCPROVIDERBINDING> const & pvscpbBinding);
public int GetProviderBinding (Microsoft.VisualStudio.Shell.Interop.VSSCCPROVIDERBINDING[] pvscpbBinding);
abstract member GetProviderBinding : Microsoft.VisualStudio.Shell.Interop.VSSCCPROVIDERBINDING[] -> int
Public Function GetProviderBinding (pvscpbBinding As VSSCCPROVIDERBINDING()) As Integer

Parameters

pvscpbBinding
VSSCCPROVIDERBINDING[]

[out] Returns a value from the __VSSCCPROVIDERBINDINGOPTIONS enumeration.

Returns

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.

Applies to