Partager via


VssClientCredentials Constructor (Boolean)

Initializes a new VssClientCredentials instance with default credentials if specified.

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

Syntax

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

Parameters

  • useDefaultCredentials
    Type: System.Boolean

    True to use default windows credentials; otherwise, false.

.NET Framework Security

See Also

Reference

VssClientCredentials Class

VssClientCredentials Overload

Microsoft.VisualStudio.Services.Client Namespace