语言

DataSourceCredentials 类

定义

代表一组数据源凭证。

public ref class DataSourceCredentials sealed : Microsoft::ReportingServices::RdlObjectModel::ReportObject
[System.Serializable]
public sealed class DataSourceCredentials : Microsoft.ReportingServices.RdlObjectModel.ReportObject
[<System.Serializable>]
type DataSourceCredentials = class
    inherit ReportObject
Public NotInheritable Class DataSourceCredentials
Inherits ReportObject
继承
DataSourceCredentials
属性

构造函数

名称 说明
DataSourceCredentials()

初始化 DataSourceCredentials 类的新实例。

DataSourceCredentials(String, String)

使用指定的用户名和密码初始化类的新实例 DataSourceCredentials 。

属性

名称 说明
ComponentMetadata

获取或设置组件元数据。

(继承自 ReportObject)
EncryptedPassword

获取或设置数据源的加密密码。

EncryptedUserName

获取或设置数据源的加密用户名。

Parent

本报告的上级对象。

(继承自 ReportObjectBase)
Password

获取或设置数据源的密码。

Site

获取或设置与 ReportObject 对象关联的站点。

(继承自 ReportObject)
UserName

获取或设置数据源的用户名。

方法

名称 说明
CreateFromCiphertext(String, String)

从密文创建 DataSourceCredentials 对象。

DeepClone()

回归了这个 DataSourceCredentials 实例的深度克隆。

GetContainingDataScopes()

返回包含数据作用域的报告对象列表。

(继承自 ReportObject)
GetDataScopesForDefaultImpl(IContainedObject)

返回默认实现的数据作用域。

(继承自 ReportObject)
GetDependenciesCore(IList<ReportObject>)

返回对象的 ReportObject 依赖核心。

(继承自 ReportObject)
Initialize()

初始化 . 的 ReportObject实例。

(继承自 ReportObject)
InitializeForDesigner()

为设计器初始化报告对象。

(继承自 ReportObject)
OnChildPropertyChanged(Int32, Object, Object)

在孩子财产发生变更时触发事件。

(继承自 ReportObject)
OnPropertyChanged(Int32, Object, Object)

在财产变更时触发事件。

(继承自 ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

返回报告定义语言语义是否与核心对象相同。

(继承自 ReportObject)
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

保存报告对象的属性值。

(继承自 ReportObject)

显式接口实现

名称 说明
IComponent.Disposed

当物体被丢弃时 ReportObject 发生。

(继承自 ReportObject)
IDisposable.Dispose()

执行与释放、释放或重置非托管资源关联的应用程序定义任务。

(继承自 ReportObject)

适用于