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
- solutionPath
Type: System.String
- server
Type: System.String
Return Value
Type: System.Int32
Returns Int32.
.NET Framework Security
- 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
IVersionControlService Interface
Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace