Compartir a través de


ConnectOptions Enumeration

Specifies whether to retrieve the location of services when connecting to Team Foundation Server.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.TeamFoundation.Framework.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaración
<FlagsAttribute> _
Public Enumeration ConnectOptions
[FlagsAttribute]
public enum ConnectOptions
[FlagsAttribute]
public enum class ConnectOptions
[<FlagsAttribute>]
type ConnectOptions
public enum ConnectOptions

Members

Member name Description
None Does not retrieve the location of services. Subsequent calls will require a round trip to the server in order to obtain those locations.

You should use this option when you only want to authenticate an identity with the server.

IncludeServices Retrieves the location of services so that subsequent calls do not require a round trip to the server in order to obtain those locations.

You should use this option unless you only want to authenticate an identity with the server.

See Also

Reference

Microsoft.TeamFoundation.Framework.Common Namespace

TfsConnection

Other Resources

Connect to Team Foundation Server from a Console Application