Compartilhar via


DataSource.RunQuery Method

Queries the data source.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Function RunQuery ( _
    kpiMeasures As KpiMeasureCollection, _
    pageFilters As MemberCollection, _
    tiCurrentDateTime As String, _
    tiFormula As String, _
    memberSlices As TupleCollection, _
    localCache As IGlobalCache _
) As QueryResult
'Usage
Dim instance As DataSource
Dim kpiMeasures As KpiMeasureCollection
Dim pageFilters As MemberCollection
Dim tiCurrentDateTime As String
Dim tiFormula As String
Dim memberSlices As TupleCollection
Dim localCache As IGlobalCache
Dim returnValue As QueryResult

returnValue = instance.RunQuery(kpiMeasures, _
    pageFilters, tiCurrentDateTime, _
    tiFormula, memberSlices, localCache)
public QueryResult RunQuery(
    KpiMeasureCollection kpiMeasures,
    MemberCollection pageFilters,
    string tiCurrentDateTime,
    string tiFormula,
    TupleCollection memberSlices,
    IGlobalCache localCache
)

Parameters

  • tiCurrentDateTime
    Type: System.String

    The current date and time used for the Time Intelligence formula.

Return Value

Type: Microsoft.PerformancePoint.Scorecards.QueryResult
The results of the query.

See Also

Reference

DataSource Class

DataSource Members

Microsoft.PerformancePoint.Scorecards Namespace