Represents a data source.
繼承階層
System.Object
Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
Microsoft.ReportingServices.RdlObjectModel.ReportObject
Microsoft.ReportingServices.RdlObjectModel.DataSource
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Public Class DataSource _
Inherits ReportObject _
Implements INamedObject
'用途
Dim instance As DataSource
public class DataSource : ReportObject, INamedObject
public ref class DataSource : public ReportObject,
INamedObject
type DataSource =
class
inherit ReportObject
interface INamedObject
end
public class DataSource extends ReportObject implements INamedObject
DataSource 型別公開下列成員。
建構函式
| 名稱 | 說明 | |
|---|---|---|
![]() |
DataSource | Initializes a new instance of the DataSource class. |
上層
屬性
| 名稱 | 說明 | |
|---|---|---|
![]() |
ComponentMetadata | Gets or sets the component metadata. (繼承自 ReportObject。) |
![]() |
ConnectionProperties | Gets or sets the connection properties. |
![]() |
Credentials | 基礎結構。Gets or sets the data source credentials. |
![]() |
DataSourceID | Gets or sets the data source ID. |
![]() |
DataSourceReference | Gets or sets the path to a shared data source. |
![]() |
DesignTimeCredentials | 基礎結構。Gets or sets the credentials at design time. |
![]() |
ImpersonateUser | 基礎結構。Gets or sets a value that indicates whether to impersonate the user. |
![]() |
IsModel | 基礎結構。Gets or sets a value that indicates whether the data source is a model. |
![]() |
IsModified | 基礎結構。Gets or sets a value that indicates whether the data source is modified. |
![]() |
IsModifiedSincePreview | 基礎結構。Gets or sets a value that indicates whether the data source is modified since last preview. |
![]() |
IsReference | 基礎結構。Gets or sets a value that indicates whether the data source is a reference. |
![]() |
IsShared | 基礎結構。Gets or sets a value that indicates whether the data source is shared. |
![]() |
Name | Gets or sets the data source name. |
![]() |
Parent | The parent of this report object. (繼承自 ReportObjectBase。) |
![]() |
RunTimeCredentials | 基礎結構。Gets or sets the credentials at runtime time. |
![]() |
SecurityType | Gets or sets the authentication method of the data source. |
![]() |
ShouldSaveCredentials | 基礎結構。Gets or sets a value that indicates whether data source should save credentials. |
![]() |
Site | 基礎結構。Gets or sets the site associated with the ReportObject object. (繼承自 ReportObject。) |
![]() |
Transaction | Gets or sets the value that indicates whether the datasets that use this data source run in a single transaction. |
![]() |
WindowsCredentials | 基礎結構。Gets or sets a value that indicates whether to use windows credentials. |
上層
方法
| 名稱 | 說明 | |
|---|---|---|
![]() |
DeepClone | 基礎結構。Returns a deep clone of this data source. (覆寫 ReportObject.DeepClone()。) |
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetContainingDataScopes | 基礎結構。Returns the list of report object that contains data scopes. (繼承自 ReportObject。) |
![]() |
GetDataScopesForDefaultImpl | 基礎結構。Returns the data scopes for default implementation. (繼承自 ReportObject。) |
![]() |
GetDependenciesCore | 基礎結構。Returns the dependencies core for the ReportObject object. (繼承自 ReportObject。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
Initialize | Initializes the current DataSource instance. (覆寫 ReportObject.Initialize()。) |
![]() |
InitializeForDesigner | 基礎結構。Initializes the report object for designer. (繼承自 ReportObject。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
OnChildPropertyChanged | 基礎結構。Raises an event when the property of the child was changed. (繼承自 ReportObject。) |
![]() |
OnPropertyChanged | 基礎結構。Raises an event when the property was changed. (繼承自 ReportObject。) |
![]() |
RdlSemanticEqualsCore | 基礎結構。Indicates whether the RDL semantic is equal to the core objects. (覆寫 ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)。) |
![]() |
SavePropertyValue<T> | 基礎結構。Saves the property value of the report object. (繼承自 ReportObject。) |
![]() |
SetCachedCredentials | 基礎結構。Sets the credentials from the cached. |
![]() |
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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)