共用方式為


IVsSccProjectProviderBinding.GetProviderBindingOptions(UInt32) Method

Definition

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

public:
 int GetProviderBindingOptions([Runtime::InteropServices::Out] System::UInt32 % pvscpboOptions);
int GetProviderBindingOptions([Runtime::InteropServices::Out] unsigned int & pvscpboOptions);
public int GetProviderBindingOptions (out uint pvscpboOptions);
abstract member GetProviderBindingOptions : uint32 -> int
Public Function GetProviderBindingOptions (ByRef pvscpboOptions As UInteger) As Integer

Parameters

pvscpboOptions
UInt32

[out] Returns a combination of values 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 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.

Applies to