DataSourceCredentials 类

Represents a set of data source credentials.

继承层次结构

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials

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

语法

声明
<SerializableAttribute> _
Public NotInheritable Class DataSourceCredentials _
    Inherits ReportObject
用法
Dim instance As DataSourceCredentials
[SerializableAttribute]
public sealed class DataSourceCredentials : ReportObject
[SerializableAttribute]
public ref class DataSourceCredentials sealed : public ReportObject
[<SealedAttribute>]
[<SerializableAttribute>]
type DataSourceCredentials =  
    class 
        inherit ReportObject 
    end
public final class DataSourceCredentials extends ReportObject

DataSourceCredentials 类型公开以下成员。

构造函数

  名称 说明
公共方法 DataSourceCredentials() 基础结构。Initializes a new instance of the DataSourceCredentials class.
公共方法 DataSourceCredentials(String, String) 基础结构。Initializes a new instance of the DataSourceCredentials class using the specified user name and password.

页首

属性

  名称 说明
公共属性 ComponentMetadata Gets or sets the component metadata. (从 ReportObject 继承。)
公共属性 EncryptedPassword 基础结构。Gets or sets the encrypted password of the data source.
公共属性 EncryptedUserName 基础结构。Gets or sets the encrypted user name of the data source.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 Password 基础结构。Gets or sets the password of the data source.
公共属性 Site 基础结构。Gets or sets the site associated with the ReportObject object. (从 ReportObject 继承。)
公共属性 UserName 基础结构。Gets or sets the user name of the data source.

页首

方法

  名称 说明
公共方法静态成员 CreateFromCiphertext 基础结构。Creates a DataSourceCredentials object from a cipher text.
公共方法 DeepClone 基础结构。Returns a deep clone of this DataSourceCredentials instance. (覆盖 ReportObject.DeepClone()。)
公共方法 Equals (从 Object 继承。)
公共方法 GetContainingDataScopes 基础结构。Returns the list of report object that contains data scopes. (从 ReportObject 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Initialize 基础结构。Initializes an instance of ReportObject. (从 ReportObject 继承。)
受保护方法 OnChildPropertyChanged 基础结构。Raises an event when the property of the child was changed. (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。Raises an event when the property was changed. (从 ReportObject 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose 基础结构。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed 基础结构。Occurs when the ReportObject object is disposed. (从 ReportObject 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间