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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.