共用方式為


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 命名空間