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
屬性

建構函式

名稱 Description
DataSourceCredentials()

初始化 DataSourceCredentials 類別的新執行個體。

DataSourceCredentials(String, String)

使用指定的使用者名稱和密碼初始化該 DataSourceCredentials 類別的新實例。

屬性

名稱 Description
ComponentMetadata

取得或設定元件的元資料。

(繼承來源 ReportObject)
EncryptedPassword

取得或設定資料來源的加密密碼。

EncryptedUserName

取得或設定資料來源的加密使用者名稱。

Parent

本報告的母體反對。

(繼承來源 ReportObjectBase)
Password

取得或設定資料來源的密碼。

Site

取得或設定與 ReportObject 物件相關的網站。

(繼承來源 ReportObject)
UserName

取得或設定資料來源的使用者名稱。

方法

名稱 Description
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)

明確介面實作

名稱 Description
IComponent.Disposed

當物品被處置時 ReportObject 發生。

(繼承來源 ReportObject)
IDisposable.Dispose()

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

(繼承來源 ReportObject)

適用於