共用方式為


DataSourceCredentials.Password 屬性

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

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

語法

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

備註

安全性注意事項安全性注意事項

Do not use a blank password. Use a strong password.

請參閱

參考

DataSourceCredentials 類別

ReportExecution2005 命名空間