ReportingService2006.PrepareQuery Método
Returns a dataset that contains the fields retrieved by the delivery query for a data-driven subscription.
Espacio de nombres: ReportService2006
Ensamblado: ReportService2006 (en ReportService2006.dll)
Sintaxis
'Declaración
Public Function PrepareQuery ( _
DataSource As DataSource, _
DataSet As DataSetDefinition, _
<OutAttribute> ByRef Changed As Boolean, _
<OutAttribute> ByRef ParameterNames As String() _
) As DataSetDefinition
'Uso
Dim instance As ReportingService2006
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)
public DataSetDefinition PrepareQuery(
DataSource DataSource,
DataSetDefinition DataSet,
out bool Changed,
out string[] ParameterNames
)
public:
DataSetDefinition^ PrepareQuery(
DataSource^ DataSource,
DataSetDefinition^ DataSet,
[OutAttribute] bool% Changed,
[OutAttribute] array<String^>^% ParameterNames
)
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
Parámetros
- DataSource
Tipo: ReportService2006.DataSource
The data source for the delivery query. This can be a shared data source or a model.
- DataSet
Tipo: ReportService2006.DataSetDefinition
The dataset that contains the delivery query and fields for a data-driven subscription.
- Changed
Tipo: 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
Tipo: array<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.
Valor devuelto
Tipo: ReportService2006.DataSetDefinition
A DataSetDefinition object that contains the fields and the delivery query that are retrieved from the given data source.
Comentarios
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
ViewListItems on DataSource |