DataSource 类

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 The component metadata. (从 ReportObject 继承。)
公共属性 ConnectionProperties The connection properties.
公共属性 Credentials 基础结构。
公共属性 DataSourceID The data source ID.
公共属性 DataSourceReference The path to a shared data source.
公共属性 DesignTimeCredentials 基础结构。
公共属性 ImpersonateUser 基础结构。
公共属性 IsModel 基础结构。
公共属性 IsModified 基础结构。
公共属性 IsModifiedSincePreview 基础结构。
公共属性 IsReference 基础结构。
公共属性 IsShared 基础结构。
公共属性 Name The data source name.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 RunTimeCredentials 基础结构。
公共属性 SecurityType The authentication method of the data source.
公共属性 ShouldSaveCredentials 基础结构。
公共属性 Site 基础结构。 (从 ReportObject 继承。)
公共属性 Transaction Indicates whether the datasets that use this data source run in a single transaction.
公共属性 WindowsCredentials 基础结构。

页首

方法

  名称 说明
公共方法 DeepClone 基础结构。 (覆盖 ReportObject.DeepClone()。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContainingDataScopes 基础结构。 (从 ReportObject 继承。)
受保护方法 GetDataScopesForDefaultImpl 基础结构。 (从 ReportObject 继承。)
受保护方法 GetDependenciesCore 基础结构。 (从 ReportObject 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Initialize Initializes the current DataSource instance. (覆盖 ReportObject.Initialize()。)
受保护方法 InitializeForDesigner 基础结构。 (从 ReportObject 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnChildPropertyChanged 基础结构。 (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。 (从 ReportObject 继承。)
受保护方法 RdlSemanticEqualsCore 基础结构。 (覆盖 ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)。)
受保护方法 SavePropertyValue<T> 基础结构。 (从 ReportObject 继承。)
公共方法 SetCachedCredentials 基础结构。
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed (从 ReportObject 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。