Partager via


WindowsCredential Constructor (Boolean)

Initializes a new WindowsCredential instance using a default user interface provider implementation and the default network 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 WindowsCredential(
    bool useDefaultCredentials
)
public:
WindowsCredential(
    bool useDefaultCredentials
)
new : 
        useDefaultCredentials:bool -> WindowsCredential
public function WindowsCredential(
    useDefaultCredentials : boolean
)

Parameters

  • useDefaultCredentials
    Type: System.Boolean

    True if the default credentials should be used; otherwise, false

.NET Framework Security

See Also

Reference

WindowsCredential Class

WindowsCredential Overload

Microsoft.TeamFoundation.Client Namespace