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
)
function GetProviderBindingOptions(
pvscpboOptions : uint
) : int
Parameters
pvscpboOptions
Type: System.UInt32%[out] Returns a combination of values 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 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.
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