次の方法で共有


IDbConnectionExtension.Password Property

Definition

Sets the password to use when connecting to the database. Overrides any password specified in the connection string.

public:
 property System::String ^ Password {  void set(System::String ^ value); };
public string Password { set; }
member this.Password : string
Public Property Password As String

Property Value

The connection password.

Remarks

You can set the UserName and password in order to specify alternate credentials with which to access the data source.

Property Values

The password to use when authenticating the client.

Applies to