IVsSccProjectProviderBinding::GetProviderBinding Method (array<VSSCCPROVIDERBINDING>^)

 

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)

int GetProviderBinding(
	array<VSSCCPROVIDERBINDING>^ pvscpbBinding
)

Parameters

pvscpbBinding
Type: array<Microsoft.VisualStudio.Shell.Interop::VSSCCPROVIDERBINDING>^

[out] Returns a value from the __VSSCCPROVIDERBINDINGOPTIONS enumeration.

Return Value

Type: System::Int32

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

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.

Return to top
Show: