[]
Represents a shared dataset used across multiple reports.
public sealed class SharedDataSet : IValidateable
A shared dataset is a predefined dataset that can be used by multiple reports to ensure consistent data retrieval and reduce redundancy.
SharedDataSet sharedDataSet = new SharedDataSet();
sharedDataSet.SharedDataSetReference = "/SharedDataSets/SalesData";
sharedDataSet.QueryParameterCollection.Add(new QueryParameter { Name = "StartDate", Value = "=Parameters!StartDate.Value" });
| Name | Description |
|---|---|
| SharedDataSet() | Initializes a new instance of the SharedDataSet class. |
| Name | Description |
|---|---|
| QueryParameters | Gets a collection of query parameters used by the shared dataset. |
| SharedDataSetReference | Gets or sets the reference to a shared dataset. |
| Name | Description |
|---|---|
| Validate(ValidationContext) | Validates the current state of the SharedDataSet object. |