共用方式為


DataSourceDefinition.Password 屬性

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

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Property Password As String 
    Get 
    Set
'用途
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)

屬性值

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

備註

The maximum password length is 127 characters.

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

請參閱

參考

DataSourceDefinition 類別

ReportService2005 命名空間