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