DataSource 類別

定義

代表一個資料來源。

public ref class DataSource : Microsoft::ReportingServices::RdlObjectModel::ReportObject, Microsoft::ReportingServices::RdlObjectModel::INamedObject
[System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.DataSource/DataSourceConverter))]
public class DataSource : Microsoft.ReportingServices.RdlObjectModel.ReportObject, Microsoft.ReportingServices.RdlObjectModel.INamedObject
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.DataSource/DataSourceConverter))>]
type DataSource = class
    inherit ReportObject
    interface INamedObject
Public Class DataSource
Inherits ReportObject
Implements INamedObject
繼承
屬性
實作

建構函式

名稱 Description
DataSource()

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

屬性

名稱 Description
ComponentMetadata

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

(繼承來源 ReportObject)
ConnectionProperties

取得或設定連線屬性。

Credentials

取得或設定資料來源憑證。

DataSourceID

取得或設定資料來源 ID。

DataSourceReference

取得或設定通往共享資料來源的路徑。

DesignTimeCredentials

在設計時取得或設定資格。

ImpersonateUser

取得或設定一個值,指示是否要冒充使用者。

IsModel

取得或設定一個值,指示資料來源是否為模型。

IsModified

取得或設定一個值,指示資料來源是否被修改。

IsModifiedSincePreview

取得或設定一個值,表示資料來源自上次預覽以來是否被修改。

IsReference

取得或設定一個值,指示該資料來源是否為參考資料。

IsShared

取得或設定一個值,指示資料來源是否被共享。

Name

取得或設定資料來源名稱。

Parent

本報告的母體反對。

(繼承來源 ReportObjectBase)
RunTimeCredentials

執行時取得或設定憑證。

SecurityType

取得或設定資料來源的認證方法。

ShouldSaveCredentials

取得或設定一個值,指示資料來源是否應該儲存憑證。

Site

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

(繼承來源 ReportObject)
Transaction

取得或設定一個值,指示使用該資料來源的資料集是否在單一交易中執行。

WindowsCredentials

會取得或設定一個值,指示是否使用 Windows 憑證。

方法

名稱 Description
DeepClone()

回傳了這個資料來源的深度克隆。

GetContainingDataScopes()

回傳包含資料範圍的報告物件清單。

(繼承來源 ReportObject)
GetDataScopesForDefaultImpl(IContainedObject)

回傳預設實作的資料範圍。

(繼承來源 ReportObject)
GetDependenciesCore(IList<ReportObject>)

回傳物件的 ReportObject 相依核心。

(繼承來源 ReportObject)
Initialize()

初始化目前的 DataSource 實例。

InitializeForDesigner()

初始化設計器的報表物件。

(繼承來源 ReportObject)
OnChildPropertyChanged(Int32, Object, Object)

在孩子財產變更時引發事件。

(繼承來源 ReportObject)
OnPropertyChanged(Int32, Object, Object)

當房產變更時觸發事件。

(繼承來源 ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

顯示 RDL 語意是否等於核心物件。

SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

儲存報告物件的屬性值。

(繼承來源 ReportObject)
SetCachedCredentials(CachedCredentials)

從快取的檔案設定憑證。

明確介面實作

名稱 Description
IComponent.Disposed

當物品被處置時 ReportObject 發生。

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

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

(繼承來源 ReportObject)

適用於