Share via


TfsClientCredentials Constructor (Boolean)

Initializes a new TfsClientCredentials instance with default credentials if they are specified.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    useDefaultCredentials As Boolean _
)
public TfsClientCredentials(
    bool useDefaultCredentials
)
public:
TfsClientCredentials(
    bool useDefaultCredentials
)
new : 
        useDefaultCredentials:bool -> TfsClientCredentials
public function TfsClientCredentials(
    useDefaultCredentials : boolean
)

Parameters

  • useDefaultCredentials
    Type: System.Boolean

    True to use default windows credentials; otherwise, false

.NET Framework Security

See Also

Reference

TfsClientCredentials Class

TfsClientCredentials Overload

Microsoft.TeamFoundation.Client Namespace