TfsConnection.Connect Method
Connects to a server that is running Team Foundation Server and returns information based on connectOptions.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaración
Public Sub Connect ( _
connectOptions As ConnectOptions _
)
public void Connect(
ConnectOptions connectOptions
)
public:
void Connect(
ConnectOptions connectOptions
)
member Connect :
connectOptions:ConnectOptions -> unit
public function Connect(
connectOptions : ConnectOptions
)
Parameters
- connectOptions
Type: Microsoft.TeamFoundation.Framework.Common.ConnectOptions
Specifies what information should be returned from the server.
.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.