ConnectionCredential Constructors

Definition

Overloads

ConnectionCredential(String, String)

Initializes a new instance of the ConnectionCredential class.

ConnectionCredential(String, String, Boolean)

ConnectionCredential(String, String)

Initializes a new instance of the ConnectionCredential class.

public:
 ConnectionCredential(System::String ^ userName, System::String ^ password);
public ConnectionCredential (string userName, string password);
new Microsoft.Web.Management.Client.ConnectionCredential : string * string -> Microsoft.Web.Management.Client.ConnectionCredential
Public Sub New (userName As String, password As String)

Parameters

userName
String

The user name.

password
String

The password for the specified user.

Applies to

ConnectionCredential(String, String, Boolean)

public:
 ConnectionCredential(System::String ^ userName, System::String ^ password, bool useBasicAuthentication);
public ConnectionCredential (string userName, string password, bool useBasicAuthentication);
new Microsoft.Web.Management.Client.ConnectionCredential : string * string * bool -> Microsoft.Web.Management.Client.ConnectionCredential
Public Sub New (userName As String, password As String, useBasicAuthentication As Boolean)

Parameters

userName
String
password
String
useBasicAuthentication
Boolean

Applies to