Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allows a project type to force the choice of a particular source control package.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
<GuidAttribute("53544C4D-02F8-11D0-8E5E-00A0C911005A")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSccProjectProviderBinding
[GuidAttribute("53544C4D-02F8-11D0-8E5E-00A0C911005A")]
[InterfaceTypeAttribute()]
public interface IVsSccProjectProviderBinding
[GuidAttribute(L"53544C4D-02F8-11D0-8E5E-00A0C911005A")]
[InterfaceTypeAttribute()]
public interface class IVsSccProjectProviderBinding
[<GuidAttribute("53544C4D-02F8-11D0-8E5E-00A0C911005A")>]
[<InterfaceTypeAttribute()>]
type IVsSccProjectProviderBinding = interface end
public interface IVsSccProjectProviderBinding
The IVsSccProjectProviderBinding type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
BrowseServerPath | Displays a browse dialog box so that the user can browse for a source control server location. |
![]() |
GetProviderBinding | Determines if this project requires a specific source control package or if the project should be put under source control. |
![]() |
GetProviderBindingOptions | Retrieves the flags that control editing of the source control server path. |
![]() |
GetProviderService | This method retrieves the service ID (SID) of a service object that will be used to instantiate a source control package. |
![]() |
GetProviderSession | Returns a session object for a Version API (VAPI)-style source control package. |
![]() |
TranslateEnlistmentPath | Translates an enlistment path into a displayable path. |
![]() |
ValidateServerPathEdit | Determines if the given source control server path is valid. |
Top
Remarks
Binding Process
What follows is the flow of control for various scenarios showing the interaction between the environment (otherwise known as the Source Control Stub) and this interface.
Adding a Project or Solution to Source Control |
---|
|
Opening a Project or Solution from Source Control |
---|
Because the Source Control Stub gets the project from source control, the source control package must exist at least in stub form before the project is read.
![]()
Although this may be a project-specific source control package, the project does not yet exist.
|
Opening an Existing Project |
---|
The project exists on the local drive at this point.
|
Changing the Connection to the Source Control Server |
---|
|
Notes to Implementers
This interface is implemented by a project type in order to specify a particular source control package. Unless a project type has need of a specific source control package, then there is no need to implement this interface.
Notes to Callers
This interface is called by the environment when access to a source control package is needed. If the interface does not exist or if a call to GetProviderBinding specifies otherwise, the environment uses whatever source control package is currently available.