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
userName
Type: System.StringThe user name
password
Type: System.StringThe password
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.