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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。