Share via


DataSourceDefinition.Password Property

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

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.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 that contains 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.