Поделиться через


ITeamFoundationConnectionManager.Connect Method (TeamProjectPickerMode, Boolean)

Prompts the user to select the TF Context they want to connect to. The mode parameter determines at what level the context is needed (TP, collection, etc). Make sure to pass true for async so that the actual connection and authentication will be done in the background and not block VS.

Namespace:  Microsoft.VisualStudio.Services.Integration
Assembly:  Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)

Syntax

'Declaration
Function Connect ( _
    mode As TeamProjectPickerMode, _
    asynchronous As Boolean _
) As Boolean
bool Connect(
    TeamProjectPickerMode mode,
    bool asynchronous
)
bool Connect(
    TeamProjectPickerMode mode, 
    bool asynchronous
)
abstract Connect : 
        mode:TeamProjectPickerMode * 
        asynchronous:bool -> bool
function Connect(
    mode : TeamProjectPickerMode, 
    asynchronous : boolean
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ITeamFoundationConnectionManager Interface

Connect Overload

Microsoft.VisualStudio.Services.Integration Namespace