Dela via


DataSourceDefinition.Password Property

Gets or sets the password that the report server uses to connect to a data source.

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Syntax

'Declaration
Public Property Password As String
    Get
    Set
'Usage
Dim instance As DataSourceDefinition
Dim value As String

value = instance.Password

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

Property Value

Type: System.String
A String containing the password that Report Server uses to connect to a data source.

Remarks

The maximum password length is 127 characters.

This property is ignored if CredentialRetrieval is set to None, Prompt, or Integrated.