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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。