ReportingService2005.PrepareQuery 메서드

정의

데이터 기반 구독에 대한 배달 쿼리를 통해 검색된 필드를 포함하는 데이터 세트을 반환합니다.

public:
 ReportService2005::DataSetDefinition ^ PrepareQuery(ReportService2005::DataSource ^ DataSource, ReportService2005::DataSetDefinition ^ DataSet, [Runtime::InteropServices::Out] bool % Changed, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % ParameterNames);
public ReportService2005.DataSetDefinition PrepareQuery (ReportService2005.DataSource DataSource, ReportService2005.DataSetDefinition DataSet, out bool Changed, out string[] ParameterNames);
member this.PrepareQuery : ReportService2005.DataSource * ReportService2005.DataSetDefinition * bool * String[] -> ReportService2005.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

[out] 메서드에 전달된 데이터 집합이 메서드에서 반환된 데이터 집합과 다른지 여부를 나타내는 Boolean 값입니다. 입력 데이터 세트이 출력 데이터 세트과 다른지 여부를 확인하려면 이 속성을 사용합니다.

ParameterNames
String[]

[out] 기본 의미 체계 쿼리에 사용되는 쿼리 매개 변수의 이름입니다. 이 out 매개 변수는 가 모델을 참조할 DataSource 때만 사용됩니다.

반환

지정된 데이터 원본에서 검색된 필드와 배달 쿼리를 포함하는 DataSetDefinition 개체입니다.

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 (In) BatchHeaderValue

(Out) ServerInfoHeaderValue
필요한 권한 항목 유형에 따라 다릅니다.

- DataSource: ReadProperties
- Model: ReadProperties

메서드에서 DataSetDefinition 반환하는 개체를 및 SetDataDrivenSubscriptionProperties 메서드에 PrepareQuery 대한 입력 CreateDataDrivenSubscription 으로 전달합니다.

배달 쿼리는 데이터 기반 구독에 대한 보고서 매개 변수 값 및 배달 확장 프로그램 설정에 매핑할 수 있는 필드 집합을 반환합니다. 결과 집합의 각 행에는 보고서가 배달되는 전자 메일 주소와 같은 단일 받는 사람에 대한 값이 포함됩니다.

배달 쿼리는 보고서 서버에 설치된 데이터 처리 확장 프로그램 중 하나에 유효해야 합니다. 자세한 내용은 데이터 처리 확장 프로그램 개요를 참조하세요.

적용 대상