Delen via


IVersionControlService.ConnectForSolution Method

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Function ConnectForSolution ( _
    solutionPath As String, _
    server As String, _
    options As VersionControlConnectFlags _
) As Integer
int ConnectForSolution(
    string solutionPath,
    string server,
    VersionControlConnectFlags options
)
int ConnectForSolution(
    [InAttribute] String^ solutionPath, 
    [InAttribute] String^ server, 
    [InAttribute] VersionControlConnectFlags options
)
abstract ConnectForSolution : 
        solutionPath:string * 
        server:string * 
        options:VersionControlConnectFlags -> int
function ConnectForSolution(
    solutionPath : String, 
    server : String, 
    options : VersionControlConnectFlags
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlService Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace