Bagikan melalui


IDbConnectionExtension.Password Property

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

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
WriteOnly Property Password As String 
    Set
'Usage
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)

Property Value

Type: System.String

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.

See Also

Reference

IDbConnectionExtension Interface

Microsoft.ReportingServices.DataProcessing Namespace