Aracılığıyla paylaş


ReportingService2005.PrepareQuery Yöntemi

veri temelli abonelik için teslim sorgu tarafından alınan alanları içeren bir dataset döndürür.

Ad Alanı:  ReportService2005
Derleme:  ReportService2005 (ReportService2005 içinde.dll)

Sözdizimi

'Bildirim
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/PrepareQuery", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("BatchHeaderValue")> _
Public Function PrepareQuery ( _
    DataSource As DataSource, _
    DataSet As DataSetDefinition, _
    <OutAttribute> ByRef Changed As Boolean, _
    <OutAttribute> ByRef ParameterNames As String() _
) As DataSetDefinition
'Kullanım
Dim instance As ReportingService2005
Dim DataSource As DataSource
Dim DataSet As DataSetDefinition
Dim Changed As Boolean
Dim ParameterNames As String()
Dim returnValue As DataSetDefinition

returnValue = instance.PrepareQuery(DataSource, _
    DataSet, Changed, ParameterNames)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/PrepareQuery", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("BatchHeaderValue")]
public DataSetDefinition PrepareQuery(
    DataSource DataSource,
    DataSetDefinition DataSet,
    out bool Changed,
    out string[] ParameterNames
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/PrepareQuery", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"BatchHeaderValue")]
public:
DataSetDefinition^ PrepareQuery(
    DataSource^ DataSource, 
    DataSetDefinition^ DataSet, 
    [OutAttribute] bool% Changed, 
    [OutAttribute] array<String^>^% ParameterNames
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/PrepareQuery", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("BatchHeaderValue")>]
member PrepareQuery : 
        DataSource:DataSource * 
        DataSet:DataSetDefinition * 
        Changed:bool byref * 
        ParameterNames:string[] byref -> DataSetDefinition 
public function PrepareQuery(
    DataSource : DataSource, 
    DataSet : DataSetDefinition, 
    Changed : boolean, 
    ParameterNames : String[]
) : DataSetDefinition

Parametreler

  • Changed
    Tür: System.Boolean%
    [Çıkış] A Boole yönteme geçirilen dataset farklı yöntem tarafından döndürülen olup olmadığını gösteren değer.DataSet nesnesinin giriş çıkış dataset nesnesinden farklı olup olmadığını belirlemek için bu özellik kullanın.
  • ParameterNames
    Tür: array<System.String[]%
    [Çıkış] Sorgu parametreleri temel anlam sorguda kullanılan adları.Bu çıkış parametresi yalnızca olduğunda kullanılır, DataSource başvuran bir model.

Dönüş Değeri

Tür: ReportService2005.DataSetDefinition
A DataSetDefinition nesne alanları içeren ve teslimat sorgu, alınıp verilen veri kaynak.

Açıklamalar

Aşağıdaki tablo üstbilgi ve izinler bu işlemi gösterir.

soap üstbilgileri

(De)BatchHeaderValue

(Giden)ServerInfoHeaderValue

Gerekli izinler

Öğe türüne bağlıdır:

PASS DataSetDefinition tarafından döndürülen nesne PrepareQuery yöntem giriş olarak CreateDataDrivenSubscription ve SetDataDrivenSubscriptionProperties yöntemleri.

Teslimat sorgu rapor parametre değerleri ve veri uygulamalı abonelikleri için teslim uzantısı ayarları için eşlenen alanları küme döndürür.Her satır, sonuç küme rapor teslim e-posta adresi gibi tek bir alıcı için değerleri içerir.

Teslimat sorgu için veri işleme uzantıları yüklü olan geçerli rapor sunucusu.Daha fazla bilgi için, bkz. Veri işleme uzantılarına genel bakış.