ReportingService2010.PrepareQuery 方法

Returns a dataset that contains the fields retrieved by the delivery query for a data-driven subscription.

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/PrepareQuery", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public DataSetDefinition PrepareQuery(
	DataSource DataSource,
	DataSetDefinition DataSet,
	out bool Changed,
	out string[] ParameterNames
)

参数

DataSource
类型:ReportService2010.DataSource
The data source for the delivery query. This can be a shared data source or a model.
DataSet
类型:ReportService2010.DataSetDefinition
The dataset that contains the delivery query and fields for a data-driven subscription.
Changed
类型:System.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
类型:System.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.

返回值

类型:ReportService2010.DataSetDefinition
A DataSetDefinition object that contains the fields and the delivery query that are retrieved from the given data source.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

Depends on the item type:

SharePoint Mode Required Permissions

ViewListItems on DataSource

社区附加资源

添加
显示: