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)

适用于