语言

IDbConnectionExtension.Password 属性

定义

设置连接数据库时使用的密码。 覆盖连接连接字符串中指定的任何密码。

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

属性值

连接密码。

注解

你可以设置 UserName 和 密码,以指定访问数据源的备用凭证。

属性值

对客户端进行身份验证时要使用的密码。

适用于