Partager via


VssBasicCredential Constructor (String, String)

Initializes a new VssBasicCredential instance with the specified user name and password.

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

Syntax

'Declaration
Public Sub New ( _
    userName As String, _
    password As String _
)
public VssBasicCredential(
    string userName,
    string password
)
public:
VssBasicCredential(
    String^ userName, 
    String^ password
)
new : 
        userName:string * 
        password:string -> VssBasicCredential
public function VssBasicCredential(
    userName : String, 
    password : String
)

Parameters

.NET Framework Security

See Also

Reference

VssBasicCredential Class

VssBasicCredential Overload

Microsoft.VisualStudio.Services.Client Namespace