共用方式為


IDbConnectionExtension.Password 屬性

Gets or sets the password to use when connecting to the database. Overrides any password specified in the connection string.

命名空間:  Microsoft.ReportingServices.DataProcessing
組件:   Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
  Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)

語法

'宣告
WriteOnly Property Password As String 
    Set
'用途
Dim instance As IDbConnectionExtension 
Dim value As String

instance.Password = value
string Password { set; }
property String^ Password {
    void set (String^ value);
}
abstract Password : string with get, set
function set Password (value : String)

屬性值

型別:System.String

備註

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.

請參閱

參考

IDbConnectionExtension 介面

Microsoft.ReportingServices.DataProcessing 命名空間