DataSource.ShouldSaveCredentials 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets or sets a value that indicates whether data source should save credentials.

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Property ShouldSaveCredentials As Boolean 
    Get 
    Set
用法
Dim instance As DataSource 
Dim value As Boolean 

value = instance.ShouldSaveCredentials

instance.ShouldSaveCredentials = value
public bool ShouldSaveCredentials { get; set; }
public:
property bool ShouldSaveCredentials {
    bool get ();
    void set (bool value);
}
member ShouldSaveCredentials : bool with get, set
function get ShouldSaveCredentials () : boolean 
function set ShouldSaveCredentials (value : boolean)

属性值

类型:System.Boolean
true if data source should save credentials; otherwise, false.

请参阅

参考

DataSource 类

Microsoft.ReportingServices.RdlObjectModel 命名空间