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
'Déclaration
Function GetProviderBinding ( _
<OutAttribute> pvscpbBinding As VSSCCPROVIDERBINDING() _
) As Integer
'Utilisation
Dim instance As IVsSccProjectProviderBinding
Dim pvscpbBinding As VSSCCPROVIDERBINDING()
Dim returnValue As Integer
returnValue = instance.GetProviderBinding(pvscpbBinding)
int GetProviderBinding(
VSSCCPROVIDERBINDING[] pvscpbBinding
)
int GetProviderBinding(
[OutAttribute] array<VSSCCPROVIDERBINDING>^ pvscpbBinding
)
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.
Permissions
- 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.
See Also
Reference
IVsSccProjectProviderBinding Interface