ReportingService2006.PrepareQuery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a dataset that contains the fields retrieved by the delivery query for a data-driven subscription.
public:
ReportService2006::DataSetDefinition ^ PrepareQuery(ReportService2006::DataSource ^ DataSource, ReportService2006::DataSetDefinition ^ DataSet, [Runtime::InteropServices::Out] bool % Changed, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % ParameterNames);
public ReportService2006.DataSetDefinition PrepareQuery (ReportService2006.DataSource DataSource, ReportService2006.DataSetDefinition DataSet, out bool Changed, out string[] ParameterNames);
member this.PrepareQuery : ReportService2006.DataSource * ReportService2006.DataSetDefinition * bool * String[] -> ReportService2006.DataSetDefinition
Public Function PrepareQuery (DataSource As DataSource, DataSet As DataSetDefinition, ByRef Changed As Boolean, ByRef ParameterNames As String()) As DataSetDefinition
Parameters
- DataSource
- DataSource
The data source for the delivery query. This can be a shared data source or a model.
- DataSet
- DataSetDefinition
The dataset that contains the delivery query and fields for a data-driven subscription.
- Changed
- Boolean
[out] A Boolean
value that indicates whether the dataset that was passed to the method differs from the one returned by the method. Use this property to determine whether the input dataset differs from the output dataset.
- ParameterNames
- String[]
[out] The names of the query parameters used in the underlying semantic query. This out parameter is only used when the DataSource
references a model.
Returns
A DataSetDefinition object that contains the fields and the delivery query that are retrieved from the given data source.
Remarks
The table below shows header and permissions information on this operation.
SOAP Headers | (In) TrustedUserHeaderValue (Out) ServerInfoHeaderValue |
Required Permissions | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> on DataSource |