共用方式為


IVsSccProjectProviderBinding.GetProviderBindingOptions Method

Retrieves the flags that control editing of the source control server path.

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

Syntax

'宣告
Function GetProviderBindingOptions ( _
    <OutAttribute> ByRef pvscpboOptions As UInteger _
) As Integer
'用途
Dim instance As IVsSccProjectProviderBinding
Dim pvscpboOptions As UInteger
Dim returnValue As Integer

returnValue = instance.GetProviderBindingOptions(pvscpboOptions)
int GetProviderBindingOptions(
    out uint pvscpboOptions
)
int GetProviderBindingOptions(
    [OutAttribute] unsigned int% pvscpboOptions
)
abstract GetProviderBindingOptions : 
        pvscpboOptions:uint32 byref -> int 
function GetProviderBindingOptions(
    pvscpboOptions : uint
) : int

Parameters

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 GetProviderBindingOptions(
   [out, retval] VSSCCPROVIDERBINDINGOPTIONS *pvscpboOptions
);

The values returned from this method determine how the user can specify a source control server path. For example, if the project supports browsing for the server location, then the flag VSSCC_PBO_CANBROWSESERVERPATH is returned and the BrowseServerPath method is called.

.NET Framework Security

See Also

Reference

IVsSccProjectProviderBinding Interface

IVsSccProjectProviderBinding Members

Microsoft.VisualStudio.Shell.Interop Namespace