ReportingService2010.PrepareQuery メソッド

定義

データ駆動型サブスクリプションのデリバリークエリで取得したフィールドを含むデータセットを返します。

public:
 ReportService2010::DataSetDefinition ^ PrepareQuery(ReportService2010::DataSource ^ DataSource, ReportService2010::DataSetDefinition ^ DataSet, [Runtime::InteropServices::Out] bool % Changed, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % ParameterNames);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/PrepareQuery", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ReportService2010.DataSetDefinition PrepareQuery(ReportService2010.DataSource DataSource, ReportService2010.DataSetDefinition DataSet, out bool Changed, out string[] ParameterNames);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/PrepareQuery", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.PrepareQuery : ReportService2010.DataSource * ReportService2010.DataSetDefinition * bool * String[] -> ReportService2010.DataSetDefinition
Public Function PrepareQuery (DataSource As DataSource, DataSet As DataSetDefinition, ByRef Changed As Boolean, ByRef ParameterNames As String()) As DataSetDefinition

パラメーター

DataSource
DataSource

デリバリークエリのデータソース。 これは共有データソースやモデルであったりします。

DataSet
DataSetDefinition

データ駆動型サブスクリプションの配信クエリとフィールドを含むデータセットです。

Changed
Boolean

[アウト]メソッドに渡されたデータセットがメソッドから返されるデータセットと異なるかどうかを示す Boolean 値です。 この特性を使って、入力データセットが出力データセットと異なるかどうかを判断します。

ParameterNames
String[]

[アウト]基盤となる意味論的クエリで使われるクエリパラメータの名前。 このアウトパラメータは、 DataSource がモデルを参照している場合にのみ使用されます。

返品

与えられたデータソースから取得されるフィールドとデリバリークエリを含む DataSetDefinition オブジェクトです。

属性

注釈

以下の表は、この操作のヘッダーおよび権限情報を示しています。

SOAPヘッダーの使用 (イン) TrustedUserHeaderValue

(アウト) ServerInfoHeaderValue
ネイティブモードの必要権限 アイテムの種類によります:

- DataSource: ReadProperties
- Model: ReadProperties
SharePointモードの必要権限 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> に DataSource

適用対象