DataSet 类

Represents a dataset.

继承层次结构

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.DataSetBase
        Microsoft.ReportingServices.RdlObjectModel.DataSet

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Class DataSet _
    Inherits DataSetBase
用法
Dim instance As DataSet
public class DataSet : DataSetBase
public ref class DataSet : public DataSetBase
type DataSet =  
    class 
        inherit DataSetBase 
    end
public class DataSet extends DataSetBase

DataSet 类型公开以下成员。

构造函数

  名称 说明
公共方法 DataSet Initializes a new instance of the DataSet class.

页首

属性

  名称 说明
公共属性 AccentSensitivity Gets or sets a value that indicates whether the data is accent sensitive. (从 DataSetBase 继承。)
公共属性 CaseSensitivity Gets or sets a value that indicates whether the data is case-sensitive. (从 DataSetBase 继承。)
公共属性 Collation Gets or sets the locale that the report server uses to sort data. (从 DataSetBase 继承。)
公共属性 ComponentMetadata Gets or sets the component metadata. (从 ReportObject 继承。)
公共属性 DataSetInfo 基础结构。Gets or sets the information about the dataset. (从 DataSetBase 继承。)
公共属性 Fields Gets or sets the fields in a dataset.
公共属性 Filters Gets or sets the filters to apply to the dataset.
公共属性 InterpretSubtotalsAsDetails Gets or sets a value that indicates whether to interpret subtotals as details. (从 DataSetBase 继承。)
公共属性 IsModifiedSincePreview 基础结构。Gets or sets a value that indicates whether the dataset is modified since the preview.
公共属性 IsReference 基础结构。Gets a value that indicates whether the dataset is a reference.
公共属性 KanatypeSensitivity Gets or sets a value that indicates whether the data is kanatype-sensitive. (从 DataSetBase 继承。)
公共属性 Name Gets or sets the dataset name. (从 DataSetBase 继承。)
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 Query Gets or sets information about the query that is contained within the dataset.
公共属性 SharedDataSet Gets or sets the shared dataset.
公共属性 Site 基础结构。Gets or sets the site associated with the ReportObject object. (从 ReportObject 继承。)
公共属性 WidthSensitivity Gets or sets a value that indicates whether the data is width-sensitive. (从 DataSetBase 继承。)

页首

方法

  名称 说明
公共方法静态成员 CreateEmbeddedDataSet Creates an embedded dataset.
公共方法 DeepClone Returns a deep clone of this ReportObject instance. (从 ReportObject 继承。)
公共方法 Equals(Object) 基础结构。Tests the equality of this object and another object. (从 DataSetBase 继承。)
公共方法 Equals(DataSetBase) 基础结构。Tests the equality of this object and another DataSetBase object. (从 DataSetBase 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContainingDataScopes 基础结构。Returns the list of report object that contains data scopes. (从 ReportObject 继承。)
公共方法 GetDataFieldByFieldName 基础结构。Gets the data field by using the specified field name.
公共方法 GetDataScopesFor 基础结构。Gets the data scopes for the dataset. (从 DataSetBase 继承。)
受保护方法 GetDataScopesForDefaultImpl 基础结构。Returns the data scopes for default implementation. (从 ReportObject 继承。)
受保护方法 GetDependenciesCore 基础结构。Returns the dependencies core for the ReportObject object. (从 ReportObject 继承。)
公共方法 GetFieldByName 基础结构。Gets the field by using the specified name.
公共方法 GetFieldDefaultAggregateExpressions 基础结构。Gets the default aggregate expressions of the field.
公共方法 GetFieldNames 基础结构。Gets the field names of the dataset.
公共方法 GetFieldReferences 基础结构。Gets the field references of the dataset.
公共方法 GetHashCode 基础结构。Gets a unique hash code for the current instance. (从 DataSetBase 继承。)
公共方法 GetQuery Returns the query for the dataset. (覆盖 DataSetBase.GetQuery()。)
公共方法 GetQueryParameterByName 基础结构。Returns the query parameter by using the parameter name.
公共方法 GetQueryParameters Returns all query parameters.
公共方法 GetType (从 Object 继承。)
公共方法 Initialize Initializes the current DataSet instance. (覆盖 DataSetBase.Initialize()。)
受保护方法 InitializeForDesigner 基础结构。Initializes the report object for designer. (从 ReportObject 继承。)
公共方法 IsSharedDataSourceReference Indicates whether the current instance is a reference to a shared data source.
受保护方法 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. (覆盖 DataSetBase.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)。)
受保护方法 SavePropertyValue<T> 基础结构。Saves the property value of the report object. (从 ReportObject 继承。)
公共方法 SetSharedDataSetReference 基础结构。Sets the reference of the shared dataset.
公共方法 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 继承。)
显式接口实现私有属性 IDataScope.Group 基础结构。Gets the data group. (从 DataSetBase 继承。)

页首

线程安全

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

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间